Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Skydiving Bibi is a skydiving instructor. Before carrying out skydiving activities, Bibi will always ask the name, height, and age of the participants. Bibis participants

Skydiving

Bibi is a skydiving instructor. Before carrying out skydiving activities, Bibi will always ask the name, height, and age of the participants. Bibis 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 wasnt 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 |Ni|, 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning VB 2008 Databases

Authors: Vidya Vrat Agarwal, James Huddleston

1st Edition

1590599470, 978-1590599471

More Books

Students also viewed these Databases questions

Question

Define offboarding. Why is it important?

Answered: 1 week ago