Answer to Question #155300 in C++ for Pikavhu

Question #155300

Write a c program to print 100,99,98,97


1
Expert's answer
2021-01-13T08:15:37-0500
#include <iostream>
using namespace std;
int main () {
    for (int i = 100; i > 96; i--) {
        cout << i << " ";
    }
    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 the first!

Leave a comment

LATEST TUTORIALS
New on Blog