63 203
Assignments Done
99,3%
Successfully Done
In July 2018

Answer to Question #58418 in C++ for Arvin

Question #58418
. Write a program to display the multiple of 3 backward from 33 to 3, inclusive. Use a for loop for this purpose
Expert's answer
#include <iostream>

using namespace std;

int main()
{
for (int i = 33; i >= 3; i--)
{
if (i % 3 == 0)
cout << i << " ";
}
cout << endl;
system("pause");
return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions