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;
}
LATEST TUTORIALS
APPROVED BY CLIENTS