Question: : Write a Kotlin program which will prompt the user for 5 different items: Name Date Assignment Class Number Description Store each piece of information

:

Write a Kotlin program which will prompt the user for 5 different items:

Name

Date

Assignment

Class Number

Description

Store each piece of information in a separate variable. Use this information to print out a formatted Header Comment using the information from the user. The header comment should look EXACTLY like the following, down to spacing, alignment, and number of *s.

You MUST use the variables that you stored the user's input to print out the report at the end of your program.

This header output should then be copied and inserted into the top of your program for this and all future assignments.

HINT: There are 60 * symbols on the top and bottom lines

Program Output should look like this EXACTLY, with the users input replacing the fields appropriately and everything aligned appropriately.

/************************************************************ * Name: Dave Jones * Date: 2/2/2020 * Assignment: Headers * Class Number: 282 * Description: Print out a header to put on each program ***********************************************************/

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 Databases Questions!