nokia themes dj

 
Turbo C - Records Using Arrays

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

/* Programmed by Harvey Losin */
/* http://www.bikoy.com/harvey */
/* webmaster@bikoy.com */

main()
{
char name[10],age[10],school[10],course[10],year[10],address[10];
clrscr();
printf("What is your name:");
gets(name);
printf("What is your age:");
gets(age);
printf("From what school are you studying:");
gets(school);
printf("What course are you taking:");
gets(course);
printf("What year:");
gets(year);
printf("What is your address:");
gets(address);
clrscr();
printf("nThese are your personal data");
printf("nYour name is %s",name);
printf("nYour age is %s",age);
printf("nYou are studying in %s",school);
printf("nYour course is %s",course);
printf("nYou are a %s student",year);
printf("nYou are living in %s",address);
getch();
}

Site Meter

webweaving by harvey
copyright 2002-2004 bikoy83. all rights reserved.