Write a C program that uses a struct to store information about a student, including:
The program should input the information of one student and print it on the screen.
Input consists of 3 lines:
1 ≤ age ≤ 1000.0 ≤ GPA ≤ 4.0Name: ` Age: \ GPA: \`
Ví dụ:
Đầu vào:
John Smith
20
3.75
Đầu ra:
Name: John Smith
Age: 20
GPA: 3.75
Đầu vào:
Alice
19
3.20
Đầu ra:
Name: Alice
Age: 19
GPA: 3.20
Đang tải editor...