Sign In
Ask Question
Danny Solis
Computers & Technology
28 June, 11:19
Write a loop to output the word EXAM 99 times
+5
Answers (
1
)
Walter Calderon
28 June, 11:33
0
Following are the answer for the given question
for (int i=1; i<=99; ++i) / / for loop
{
cout<<"EXAM"<
}
Explanation:
In this question we using for loop which is iterating 99 times and print the
word "EXAM " 99 times.
The variable i is initialized by 1 and check the condition if the condition in loop is true it will execute the loop and print "EXAM". The loop will executed 99 times when the condition in loop is false then loop become terminated.
Following are the program in c++
#include/ / header file
using namespace std;
int main () / / main method
{
for (int i=1; i<=99; ++i) / / for loop
{
cout<<"EXAM"<
}
return 0;
}
Comment
Complaint
Link
Know the Answer?
Answer
Not Sure About the Answer?
Find an answer to your question 👍
“Write a loop to output the word EXAM 99 times ...”
in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers
You Might be Interested in
You have just installed a network adapter and have booted up the system, installing the drivers. You open File Explorer on a remote computer and don't see the computer on which you just installed the NIC.
Answers (2)
Deciding whether to explode a process further or determine that it is a functional primitive is a matter of experience, judgment, and interaction with programmers who must translate the logical design into code. True / False.
Answers (1)
What is a Smart Bomb?
Answers (1)
When pasting a range cells click the paste options button and then select the transpose option to
Answers (1)
How many topics will a well-designed web page have?
Answers (1)
New Questions in Computers & Technology
assume that grade is a variable whose value is a letter grade- - anyone of the following letters: 'A', 'B', 'C', 'D', 'E', 'F', 'W', 'I'.
Answers (1)
blank affect your vision because your eye muscles are tired along with the rest of your body and is difficult to focus
Answers (1)
A term for identifying the computer's operating system.
Answers (2)
Which two statements give good definitions of financial credit
Answers (1)
What component of a processor handles all logical comparisons and calculations inside the processor?
Answers (1)
Home
»
Computers & Technology
» Write a loop to output the word EXAM 99 times
Sign In
Sign Up
Forgot Password?