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

how to do it in c++? The loop should display the value of the variables i and j

ID: 3816298 • Letter: H

Question


how to do it in c++?

The loop should display the value of the variables i and j with a message box. Use the following variables for the loop. I = 0 To 9 j-10-i Create an 'OK' button. Use the message a message box in The message box output should be "The value of j is " "The value of k is "k The output value of your variables will be place in the appropriate format When executed correctly the following should be display in your message box on your screen The value of dollar is 0. The value of j is 10.

Explanation / Answer

int main(0

{

int i,j;

for(i=0;i<10;i++)

{

j=10-i;

c.out("The value of i is ");

c.out(i);

c.out(" The value of j is ")

c.out(j);

c.out(" ");

}

return 0;

}