What happens when you click answer questions? If nothing happens, exit out or restart, it’s a glitch.
Answer:
no not my prize possessions it took me years to get them
Knowledge, and your brain.
Answer:
Following are the answer for the given question
for(int i=1;i<=99;++i) // for loop
{
cout<<"EXAM"<<endl; // display the word 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<iostream>// header file
using namespace std;
int main() // main method
{
for(int i=1;i<=99;++i) // for loop
{
cout<<"EXAM"<<endl; // display the word EXAM
}
return 0;
}
Answer:
<em>The programming language is not stated; however, I'll answer using Python programming language (</em><em>Se</em><em>e attachment</em><em> </em><em>for</em><em> </em><em>proper </em><em>for</em><em>mat</em><em>)</em>
tuition = 10000
rate = 0.04
for i in range(1,15):
tuition = tuition + tuition * rate
if i <= 10:
print("Year "+str(i)+" tuition:",end=" ")
print(round(tuition,2))
if i == 14:
print("Tuition 4th year after:",end=" ")
print(round(tuition,2))
Explanation:
<em>The first 2 lines initializes tuition and rate to 10000 and 0.04 respectively</em>
tuition = 10000
rate = 0.04
<em>The next line iterates from year 1 to year 14</em>
for i in range(1,15):
<em>This line calculates the tuition for each year</em>
tuition = tuition + tuition * rate
<em>The next 3 lines prints the tuition for year 1 to year 10</em>
if i <= 10:
print("Year "+str(i)+" tuition:",end=" ")
print(round(tuition,2))
<em>The next 3 lines prints the tuition at the 4th year after year 10 (i.e. year 14)</em>
if i == 14:
print("Tuition 4th year after:",end=" ")
print(round(tuition,2))