Design a method that calculates cost of a semesters tuition

Assignment Help Computer Engineering
Reference no: EM131853273

Problem

Complete the following tasks:

a. Design a method that calculates the cost of a semester's tuition for a college student at Mid-State University. Variables include whether the student is an in-state resident ("I" for in-state or "O" for out-of-state) and the number of credit hours for which the student is enrolling. The method should throw an exception if the residency code is invalid. Tuition is $75 per credit hour for in-state students and $125 per credit hour for out-of-state students. If a student enrolls in six hours or fewer, there is an additional $100 surcharge. Any student enrolled in 19 hours or more pays only the rate for 18 credit hours.

b. Write a method that calls the method designed in. If the method throws an exception, force the tuition to 0.

Reference no: EM131853273

Questions Cloud

Confidence interval for the difference in population : Compute a 90% confidence interval for the difference in population means of groups drinking alcohol before sleeping and those not drinking
Create an application that instantiates one martian : Create an application that instantiates one Martian and one Jupiterian. Call the toString() method with each object and display the results.
Describe two inputs in the program you could change : List two inputs in the program you could change and how you would change them to increase "number of pigs marketed per year".
Describe your plans for building your small-business website : Describe your plans for building your small-business website and creating an online presence.
Design a method that calculates cost of a semesters tuition : Design a method that calculates the cost of a semester's tuition for a college student at Mid-State University.
What type human relationship structure organization promotes : Choose a Fortune 500 company, JP Morgan Chase & Co. Then, elaborate on what type of human relationship structure the organization promotes.
Write a technical report : List at least 2 viable options / topics that you can write a technical report (internal report, status report, and so on) with.
Write a method that calls the method designed in : Write a method that calls the method designed in. If the method throws an exception, force the price of the job to 0.
Summarize the article by highlighting the key components : Choose an article in the Wall Street Journal related to a topic covered in class. Your will need to complete the following for this assignment.

Reviews

Write a Review

Computer Engineering Questions & Answers

  What are the pros and cons of each given option

Provide three different options that are available for selecting an identifier for a student entity. What are the pros and cons of each option?

  Design the logic for the game hangman

Design the logic for the game Hangman, in which the user guesses letters in a hidden word. Store the letters of a word in an array of characters.

  Why computer''s activities is handling failure

why computer's activities is handling failure.

  Find out what really happened on a computing device

The end result of computer forensics is to perform a structured investigation while also maintaining a well-documented chain of evidence to find out what really happened on a computing device and who was responsible for it.

  How to create an exit button

make a VB GUI program that tracks your employees and their previous work history. List your employees names in a drop down combo box. When the user selects a employee, display in a text area all of their previous work performed under code name Jam..

  Write down a program which compute the average of a group

write a program that calculate the average of a group of test scores where the lowest score is dropped. it should use

  Compare and contrast different virtual machines

Design and Implementation-  Discuss details of the design and implementation, how it works, challenges you faced, configuration, experimentation, results et - Compare and contrast different virtual machines e.g. JVM, Mono (CLR) and pypy on the ras..

  Write down a program to request a person''s age

In order for exercise to be beneficial to cardiovascular system, heart rate (number of heart beats per minute) must exceed a value called the training heart rate.

  List the advantages and disadvantages of fiber-optic cable

The local cable TV company is considering removing all coaxial cable and replacing it with fiber-optic cable. List advantages and disadvantages of this plan.

  Discussion of the physical aspects of disk performance

In our discussion of the physical aspects of disk performance, we stated that replacing 7200 RPM disks with 10,000 RPM disks can bring a 10% to 50% performance improvement.

  What are some of the disadvantages of cloud computing

What are some of the disadvantages of cloud computing. For your discussion, think of a process at work or in your personal experience that required some type of hardware and/or software needing to be purchased, stored and maintained at the current ..

  What kind of algorithm is required

figuring out how to find the last element of the print statement. For array A(N) and input element ARG, what kind of algorithm is needed to determine which element of A(N) is closest to but not greater than ARG? I've gotten this far but can't find..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd