Question #261866

Problem 01: Write a for loop which will print the following numbers:



100



90



80



.



.



.




Expert's answer

Source code

#include <stdio.h>


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


    return 0;
}

Output




LATEST TUTORIALS
APPROVED BY CLIENTS