Dev C++
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

for/while ciklusi stampanje imena 10 puta

Go down

for/while ciklusi stampanje imena 10 puta Empty for/while ciklusi stampanje imena 10 puta

Post  Don Corleone Wed Apr 13, 2011 11:07 pm


#include<stdio.h>
#include<conio.h>

int main(){

int i=0;
for (int i=0;i<10;i++){ // for ciklus
printf("%d. Marko \n",i);
}

printf("\n");

while (i<10) //While ciklus
{
printf("%d. Marko \n",i);
i++;
}
getch();
}
Don Corleone
Don Corleone
Admin

Posts : 148
Join date : 2009-10-28
Age : 31
Location : Sombor - Serbia

https://programing.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum