Computer 12 – C Loops – 20180228

The following code will be referenced in class today (2/28/2018):

#include <stdio.h>

int main(int argc, char** argv) {
    
    int x=1;
    
    while (x<5){
    
        printf("Hello\n");
    
        for (int j=0;j<x;j++){


            printf("\t");

        }//end of for int j loop
    
        x++;
    }//End of While (x<5) Loop

    return 0;
}//End of main function