Answer to Question #58418 in C++ for Arvin
. Write a program to display the multiple of 3 backward from 33 to 3, inclusive. Use a for loop for this purpose
1
2016-03-18T15:48:04-0400
#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!
Learn more about our help with Assignments:
C++
Comments
Leave a comment