Fortune Telling Collection - Comprehensive fortune-telling - Write in C language, first save the names of students in a class, and then enter a name from the keyboard to find out if this person is a student in this class.
Write in C language, first save the names of students in a class, and then enter a name from the keyboard to find out if this person is a student in this class.
char name[ 100][ 10],s[ 10];
int f = 0;
The name input of class students is omitted;
scanf("%s ",s);
for(I = 0; I< 100; i++)
if(strcmp(name[i],s)==0)
f = 1;
f = 1; That man is a student in that class.
& ltstring.h & gt
- Previous article:Who can provide a complete xianjian 1 raiders?
- Next article:Fortune-telling fraud lens
- Related articles
- What does it mean to say that women are golden flowers?
- Ask the master, which divination represents each family member in the gossip? Thank you very much
- My in-laws told fortune that the children would marry their in-laws, so they married my in-laws. Is there any bad influence on me?
- What are the omens of dreaming of retreat? What do you mean?
- Fortune-telling marriage _ How to calculate fortune-telling marriage?
- Daxian possessed fortune-telling video _ Daxian possessed fortune-telling video Daquan
- Fortune-telling birthdays use the lunar calendar.
- What does the eight-character list mean?
- Datong Songzhuang Fortune Teller _ datong county Zhuang Jie Fortune Teller
- Ding mingce-free mingce, Zhouyi mingce-Sanzang fortune-telling network