Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using the JAVA language , please complete the following Assignment: You need a program that will allow a student to register for classes on a

Using the JAVA language , please complete the following Assignment:

You need a program that will allow a student to register for classes on a college web site. For this exercise declare the following variables that you would use in this program:

name, address, city, state, zipCode, userName, pinNumber, tuitionOwed.

Also declare a constant for CostPerUnit with a value of 100.00.

Be sure to use the correct naming conventions.

Assign the following values to these variables:

name: John Smith

address: 101 N. Main Street city: Anytown

state: TX

zipCode: 11111

numberUnitsTaken: 18

Print to the console screen the students name, address, city, state, zip code and the amount of tuition the student owes. Include labels for each item as shown in expected output. Format the tuition owed as currency.

POSSIBLE EXPECTED OUTPUT

image text in transcribed

file:///C:/Users/Susan/Documents/Visual Studio 2012/Projects/ConsoleApplicati.. Name John Smith Address:101 N. Main Street City: Anytown State: TX The tuition you owe is $1,800.00

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_2

Step: 3

blur-text-image_3

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

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

More Books

Students also viewed these Databases questions