Assignment Details
Unit 1 Assignment: Software Basics
Outcomes addressed in this activity:
Unit Outcomes:
Course Outcome:
IT213-1: Create fundamental programs using concepts such as declaring and initializing variables and constants.
Purpose
The purpose of this assignment is to provide the student an opportunity to demonstrate knowledge of defining variables and constants, converting data between data types, and performing basic mathematical operations on those variables.
Assignment Instructions
In this assignment you will complete a program to demonstrate the skills presented in this lesson for your selected language path. Please keep in mind that with all the assignments in this course, any given scenarios are hypothetical and intended solely to demonstrate specific skills.
Note: If your language of choice is Web Development, you will need to complete the exercises in both PHP and JavaScript.
Using the language in which you have chosen to focus: C#, Java, Web Development languages (PHP and JavaScript), please complete the following assignment:
In this hypothetical scenario, you will create a program that will allow a student to register for certification classes in HVAC. The school offers a $150 discount if the student signs up for twenty or more unit-hours. Students may also pay the tuition costs over a twelve-month period.
Assignment Requirements
Name: “John Smith”
Address: “101 N. Main Street”
City: “AnyTown”
State: “TX”
Zip: "11111"
Units Taken: “19”
Hint: Use the same name but add the prefix ‘int’ such as intUnitsTaken.
Name
Address
City
State
Zip Code
Number of units taken (numeric value that was incremented)
Tuition before discount
Tuition after discount
Monthly Payment
Include labels for each item as shown in expected output. Format the tuition
values and monthly payment as currency.
EXPECTED OUTPUT
Name: John Smith
Address: 101 N. Main Street
City: Anytown
State: TX
Zip Code: 11111
The number of units taken is: 20
The tuition before discount is $2,010.00
The tuition after twenty-unit discount is $1,860.00
Your monthly payment is $155.00
Directions for Submitting Your Assignment
The source code file is the file in your project that contains the code you wrote. You will only need to submit the source code file for your program and not the entire project folder or any additional project files. Below are listed the file extensions for the source code file for each language:
.cs file for C#
.java file for Java
.php and.js files for web development
No related question exists