AREMPLOYEE - Employee (Struct)

no tags 

Build a struct that stores employee information in a structure:

  • id: string
  • name: string
  • gender: string
  • salary: integer

Allow user to enter information for one employee, then display it.

Input

ID
name
gender
salary

Output

ID : name : gender : salary

Example

Input:
NV02
Tran Thanh Hung
M
1500

Output:
NV02 : Tran Thanh Hung : M : 1500

 



Added by:khanhvh
Date:2020-11-17
Time limit:1s-5s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All