Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
Contents
Statements: for, if, if-else-if, do-while, while
Different statements are outstanding for programming. We shall check some examples with the previous statements:
for statements
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>
int main() {
int i=0;
for(int i =0;i<=2;i++){
printf("Hi, World!");
}
return 0;
}
Enter to Rename, Shift+Enter to Preview
Go Up
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content