Answer to Question #278626 in C for Mr Z

Question #278626

loop



#include <stdio.h>


int main()
{
    int n=100;
    
    for(int i=100;i>=0;i--){
        printf("%d\n",i);
    }


    return 0;
}


  • Write a short reflective account of the code concentrating on its functionality and comparing the outputs against the source code.



1
Expert's answer
2021-12-13T00:02:26-0500

The program prints out numbers from 1 to 100 in reverse order.


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
APPROVED BY CLIENTS