Question: 1 8 . 1 Write an V O function call to handle the following tasks. All can be handled by a single call. a .

18.1 Write an VO function call to handle the following tasks. All can be
handled by a single call.
a. Print out an integer followed by a string followed by a floating point
number.
b. Print out a phone number in (xxx)-xxx-xxxx format.
Internally, the phone number is stored as three integers.
c. Print out at student ID number in xxx-xx-xxxx format.
Internally, the ID number is stored as three character strings.
d. Read a student ID number in xxx-xx-xxxx format. The number
is to be stored internally as three integers.
e. Read in a line of input containing Last name, First name,
Middle initial age sex. The name fields are separated by
commas. The middle initial and sex should be stored as characters.
Age is an integer.
1 8 . 1 Write an V O function call to handle the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!