Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

COMP 2143 ASSIGNMENT 1 DUE: 2/10/2022 (Before Class) ALL COPIED ASSIGNMENTS WILL RESULT IN A ZERO. Write a COMPLETE program with documentation to do the

COMP 2143 ASSIGNMENT 1 DUE:

2/10/2022 (Before Class) ALL COPIED ASSIGNMENTS WILL RESULT IN A ZERO. Write a COMPLETE program with documentation to do the following

1. Read first name, and age from console input using Scanner

2. Read last name, middle initial, and height using GUI.

3. Read fees and three test scores from an external input file("in.dat").

4. Declare a string variable car, and float variable price and assign values to them.

5. Declare Pl as a constant.

a. Output last name, middle Initial, height, and car to the monitor.

b. Output first name, age, and price to GUI output c. Output the first name, last name, fees, average of test scores, and Pl to an output file ("out.dat). Make sure that all outputs have appropriate statements associated with it. Must submit the following after stapling together 1. Documented program 2. Input 3. Documented output Please refer to the following document posted in canvas to complete the program 1. 1_CODE_Console_input_using_Scanner_usage.pdf 2. 2_CODE_GUI_Input_Output.pdf 3. 3_CODE_External_input_output_file_code.pdf

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

App Inventor

Authors: David Wolber, Hal Abelson

1st Edition

1449397484, 9781449397487

More Books

Students also viewed these Programming questions