I need to solve the following problem as assigned by the professor ,he gave me hard time to use the function and idents in every line I need help to start with this new code..I will appreciate your help ..I am stuck cuz I have other exams in some class..I dont know how I am gonna prompt the user
Write a C program that prompts the user to enter some information about up to ten individuals. (Think of a way to prompt the user) It should store this information in a structure. T
Your program should include a structure with a tag name of: info. It should contain the following data as members:
a character array to store person's name, defined as: name[30]
a character array to store person's street address, defined as: address[30]
a character array to store person's city, defined as: city[20]
a character array to store person's state, defined as: state[3]
a long integer variable to store person's zip code, defined as: zip
an integer variable to store person's age, defined as: age
a character variable to store person's gender, defined as: gender
You need to define an array of type: struct info. You can call this array: people[10].
The dialog with the user must be as follows:
Whatever Title you want Here including a
“How many prompt” etc.
Enter name: Minnie Mouse
Enter street address: 100 Disney Drive
Enter city: Orlando
Enter state: FL
Enter zip code: 99990
Enter age: 25
Enter gender (M or F): F
Enter name: Big Bird
Enter street address: 10 Sesame Street
Enter city: Funtown
Enter state: MA
Enter zip code: 01222
Enter age: 20