Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Recent
Login
Problem2158--Display information
2158: Display information
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
355
Solved:
18
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
Define a teacher structure type (including name, age, gender, teaching subject), and output teacher information through a pointer
Input
input teacher's information
Output
Display information
Sample Input
Copy
Bob 46 man computer science
Sample Output
Copy
Bob has 46 years old, is a man, he teaches computer science
Source/Category
202