Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- int i;
- /** for(i=1;i<=10;i++){
- printf("The number is: %d\n",i);
- } **/
- i = 1;
- /**while(i<=100){
- printf("The number is: %d\n",i);
- //i++;
- i = i + 1;
- } **/
- do{
- printf("The number is: %d\n",i);
- //i++;
- i = i + 1;
- }while(i<=100);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement