It kind of depends on the intended language, but I can see the following mistakes:
- lines not terminated with a semicolon (but not all languages require this)
- while statement missing parenthesis, ie., while (num1 <= num2), also not required in all languages
- statements below the while statement must be grouped by curly braces
- num1+5 should be num1=num1+5 or num1 += 5
Output will be:
10
15
20
25
30
Answer:
copy and paste
Explanation:
highlight, right click, then go to where you want it, then right click again, and paste. and done
Answer:
A. 3mn
Explanation:
48 divides by 2 48 = 24 x 2
then =2 x 2 x 12
then = 2 x 2 x 2 x 2 x 3
greatest factorization is 3 therefore,
3mn is the answer
Answer:
Option b outFile.open("outputData.out");
Explanation:
In C++, there are several classes given to handle output and input of characters to or from files. They are:
- ofstream that write on files
- ifstream that read from files
We can use an object of ofstream to hold the contents that we wish to output to an external file. The general syntax is as follows:
ofstream_obj.open(file_name)
This will create a file with a specific file name and it possesses all the contents from the obstream_obj.
Answer:
B. is grayed out
Explanation:
ALL HIDDEN FOLDERS > GRAYED OUT