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

Ispis imena 10 puta stringovi

Go down

Ispis imena 10 puta stringovi Empty Ispis imena 10 puta stringovi

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


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

int main(){

//progrma za ispis porizvoljnog imena 10x
char ime[20];
printf("Kako se zoves \n");
scanf ("%s",&ime);
printf ("Ispisacu vase ime 10x \n");
//Ipsis imena 10 puta
for (int i=0;i<10;i++){
printf("%d. %s \n",i+1,ime);
}

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