Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

https://www.sendspace.com/file/2fyf34 or these are the questions below For this

ID: 3559984 • Letter: H

Question

https://www.sendspace.com/file/2fyf34

or these are the questions below

For this exam, you may write on both sides of this paper or use Visual Studio (preferred). If you use
Visual Studio, put all of your code in a single cpp file. Include your name in the name of the cpp file (e.g.
vanhilstFinal.cpp). Use comments to identify the item numbers and to answer non-program questions.
When you are finished, upload your finished document in the Quizzes section.

1. What include line should go at the top of the file if your code will use console input and output?

2. What include line should go at the top of the file if your code will use strings?

3. What is the name of a variable type that holds countable values like 1, 2, and 3?

4. What is the name used in C++ for the variable type that holds the values true and false?

5. In C++, what character is used to separate the three parts of a for statement for making

Explanation / Answer

1. What include line should go at the top of the file if your code will use console input and output?

ans: #include<stdio.h> for "C" and #include<iostream> for"C++"

2. What include line should go at the top of the file if your code will use strings?

ans: #include<string>

3. What is the name of a variable type that holds countable values like 1, 2, and 3?

ans: int

4. What is the name used in C++ for the variable type that holds the values true and false?

ans: bool

5. In C++, what character is used to separate the three parts of a for statement for making