Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

: 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

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 C# 2005 Databases

Authors: Karli Watson

1st Edition

0470044063, 978-0470044063

More Books

Students also viewed these Databases questions

Question

List four responses to managing risk.

Answered: 1 week ago

Question

1. Let a, b R, a Answered: 1 week ago

Answered: 1 week ago

Question

4. Identify the challenges facing todays organizations

Answered: 1 week ago