1. Scanf 5 names of you and your friends

2. Printf hi to all of them.
3. Ask all of them for their ages.
4. Printf the information in tables as shown below.

Name age
StudName1 19
StudName2 20
StudName3 18
StudName4 34
StudName5 12

5. Use selection statement to do the following, when the user press 1, show the information of the first person, press 2, for second person and so on until the 5th person

Similar Questions
  1. #include <stdio.h>#include <stdlib.h> int main() { int num[100]={0}; int i,n=0; for(i=0; num[i] != EOF ; i++,n++) {
    1. answers icon 2 answers
  2. #include<stdio.h>int main() { char ch; printf("Enter Your State Name : "); scanf("%c",&ch); if(ch == 'malacca') printf("Shipping
    1. answers icon 2 answers
  3. #include<stdio.h>int main() { char ch; printf("Enter Your State Name : "); scanf("%c",&ch); if(ch == 'a') printf("Shipping
    1. answers icon 0 answers
  4. #include<stdio.h>int main() { char ch; printf("Enter Your State Name : "); scanf("%c",&ch); if(ch == 'a') printf("Shipping
    1. answers icon 3 answers
more similar questions