#include <stdio.h>

int main() {
   //실습7//
   /* int a=1;
    while(a<=100)
        {
            printf("%d\n",a);
            a=a+1;
        }*/

    //실습8//
   /* int a;
    for(a=1;a<=100;a++)
        printf("%d\n",a); */

    //실습9//
    int a;
    for(a=100;a>=1;a--)
        printf("%d\n",a);
    
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: