Skydiving Bibi is a skydiving instructor. Before carrying out skydiving activities, Bibi will always ask the name, height, and age of the participants. Bibi's participants is always 2 people. To make it easier to remember their identities, Bibi gave them a paper to write down their identity. But because they are very enthusiastic in doing skydiving, they write their identity in a single line only (for both of the participants), so it wasn't quite neat and it made difficult for Bibi to see it, and resulted in the skydiving process being disturbed. As one of the organizer committee, you do not want this activity to be disturbed and plan to provide a program that provides their identity neatly to Bibi. Format Input Input consists of 1 line. It contains the identity of 2 people in a row Ni, Ti, Ui - the name, height, and age of the i-th participant. Format Output The output consists of 6 lines. The first line, "Name 1: N1". The second line, "Height 1: T1". The third line, "Age: U1". For row 4,5,6 the same as row 1,2,3, the only difference only the name, height, and age of the 2nd participant. Constraints: • 1 ≤ |Nil, Ui ≤ 100 • 1 ≤ Ti≤ 300.00 Sample Input 1 (standard input) Jojo 178.00 18 Lili 168.50 17 Sample Output 1 (standard output) Name 1: Jojo Height 1: 178.00 Age 1: 18 Name 2: Lili Height 2: 168.50 Age 2: 17 Use C programming

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Skydiving
Bibi is a skydiving instructor. Before carrying out skydiving
activities, Bibi will always ask the name, height, and age
of the participants. Bibi's participants is always 2 people.
To make it easier to remember their identities, Bibi gave
them a paper to write down their identity. But because
they are very enthusiastic in doing skydiving, they write
their identity in a single line only (for both of the
participants), so it wasn't quite neat and it made difficult
for Bibi to see it, and resulted in the skydiving process
being disturbed. As one of the organizer committee, you
do not want this activity to be disturbed and plan to
provide a program that provides their identity neatly to
Bibi.
Format Input
Input consists of 1 line. It contains the identity of 2 people
in a row Ni, Ti, Ui - the name, height, and age of the i-th
participant.
Format Output
The output consists of 6 lines. The first line, "Name 1: N1".
The second line, "Height 1: T1". The third line, "Age: U1".
For row 4,5,6 the same as row 1,2,3, the only difference
only the name, height, and age of the 2nd participant.
Constraints:
• 1 ≤ |Nil, Ui ≤ 100
1≤ Ti≤ 300.00
Sample Input 1 (standard input)
Jojo 178.00 18 Lili 168.50 17
Sample Output 1 (standard output)
Name 1: Jojo Height 1: 178.00 Age 1: 18 Name 2: Lili
Height 2: 168.50 Age 2: 17
Use C programming
Transcribed Image Text:Skydiving Bibi is a skydiving instructor. Before carrying out skydiving activities, Bibi will always ask the name, height, and age of the participants. Bibi's participants is always 2 people. To make it easier to remember their identities, Bibi gave them a paper to write down their identity. But because they are very enthusiastic in doing skydiving, they write their identity in a single line only (for both of the participants), so it wasn't quite neat and it made difficult for Bibi to see it, and resulted in the skydiving process being disturbed. As one of the organizer committee, you do not want this activity to be disturbed and plan to provide a program that provides their identity neatly to Bibi. Format Input Input consists of 1 line. It contains the identity of 2 people in a row Ni, Ti, Ui - the name, height, and age of the i-th participant. Format Output The output consists of 6 lines. The first line, "Name 1: N1". The second line, "Height 1: T1". The third line, "Age: U1". For row 4,5,6 the same as row 1,2,3, the only difference only the name, height, and age of the 2nd participant. Constraints: • 1 ≤ |Nil, Ui ≤ 100 1≤ Ti≤ 300.00 Sample Input 1 (standard input) Jojo 178.00 18 Lili 168.50 17 Sample Output 1 (standard output) Name 1: Jojo Height 1: 178.00 Age 1: 18 Name 2: Lili Height 2: 168.50 Age 2: 17 Use C programming
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education