C program student ID

Pages: 12
You will be first given an integer ID. In the following 4 lines, you will be given the information for 4 students. Each line contains:
ID: an integer between 100 and 1000
class name: 3 characters long string which contains only letters and digits.
Student name and surname: string which are not longer than 15 characters. And they contain only English letters.
Student grade: An integer between 1 and 100

Show all the information for the student with the given ID.


the problem, fits more in file input-output.
read the information from a text file, then in console, the user enters an ID, the program shows corresponding information.

in the current process you are programming is bizarre. because, the user inputs all info, and the program shows one him back!
Last edited on
Topic archived. No new replies allowed.
Pages: 12