int counter = 0;
int num = 0;
string output = "";
while (counter < 3) {
num = num * 1;
counter = counter + 1; }
output = Convert.ToString(num);
Output:
Counter = 0
num = 0 * 1 - - > num = 0
Counter = 1
num = 0 * 1 - - > num = 0
Counter = 2
num = 0 * 1 - - > num = 0
Counter = 3 (break)
num = 0
output = "0"
The answer to this question is C.
Answer:
Following are the statement in the c++ language
ifstream inFile; // declared a variable inFile
ofstream outFile;
//declared a variable outFile
Explanation:
The ifstream and ofstream is the file stream object in the c++ Programming language .The ifstream file stream object is used for reading the contents from the file whereas the ofstream file stream object is used for writting the contents into the file.
- We can create the variable for the ifstream and ofstream These variable is used for reading and writing into the File.
- Following are the syntax to create the ifstream variable and ofstream variable
ifstream variablename;
ofstream variablename
The base-10 value of 52010 is equal to base-16 value of 20816.
Answer:
Please check the attachment.
Explanation:
Net change in cash, is the net increase in the cash from previous year which is 11900 here, and since the cash in hand is 17200, the net increment is 17200-11900 = 5300 from past year.
And the Cash forecast depends upon cash in hand, and which is 17200, and this is while disregarding future profit.
Rest of the details are in the file attached.