Make program using switch statements in visual basic/c++

Assignment Help C/C++ Programming
Reference no: EM13937776

Make this program using switch statements in Visual Basic/C++.

Based the tuition fee of the student to the following:

Year Code Year Name Downpayment
1 Freshmen 10% of tuition fee
2 Sophomore 15% of tuition fee
3 Junior 20% of tuition fee
4 Senior 25% of tuition fee

Course Code Course Name Rate per Unit
A BSCS 205.50
B ENGG. 195.75
C MNGT 180.50
D ARCHI 175.25

Computation: tuition fee= number of units x Rate per unit
balance of tuition fee= tuition fee - downpayment

Enter the year code, course code, number of units and output the year name, course name, tuition fee and the balance tuition fee of the student.

I'm just not sure on putting multiple switch statements.

Reference no: EM13937776

Questions Cloud

What market structure is used to benchmark allocative : What market structure is used to benchmark allocative efficiency and why do we use it?Illustrate and explain using a diagram.Why and how do monopolistically competitive firms fail to achieve allocative efficiency? Illustrate and explain using a diagr..
Identification of appropriate research designs : Identification of appropriate research designs (500 words) Using the question from assignment 1 (or an amended version) and scholarly literature to support your discussion, identify and explain:
Identify the amounts reported for total assets : Identify the amounts reported for total assets at the four most recent year-ends. Identify the amounts reported for Revenues and Net Earnings (net income) for the three most recent years.
Identify toyotas capabilities and core competencies : Identify Toyota's capabilities and core competencies. How is Toyota placed internally to effectively implement the initiative proposed by Akio Toyoda? What should Akio Toyoda do to return Toyota to profitability?
Make program using switch statements in visual basic/c++ : Enter the year code, course code, number of units and output the year name, course name, tuition fee and the balance tuition fee of the student.
How much labor should the manager hire when wage rate is $20 : How much labor should the manager hire when the wage rate is $20? How much profit is earned? Is marginal product greater or less than average product at this level of labor usage? Why does it matter?
What is classical and operant conditioning : What is Classical and Operant Conditioning? Which of these two do you think is most useful for long term learning? Why
Purpose and ownership of two contrasting businesses : A) describe the type, purpose and ownership of two businesses. • describe the type of business, purpose and ownership of two contrasting businesses
What is the difference between freight-in and freight-out : What is the difference between freight-in and freight-out? What is the difference between a purchase return and a purchase allowance?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write equivalent compound statements

What action must be taken before a variable can be used in a program?

  Copy a multidimensional array

You have the following macro statements: #define WIDTH 5#define HEIGHT 3 You wish to copy a multidimensional array called anArray declared as follows:

  Define a function hypotenuse that calculates the hypotenuse

Define a function hypotenuse that calculates the hypotenuse of a right triangle when the other two sides are given. The function should take two arguments and return the hypotenuse as a double.

  How many whole numbers they wish to enter

Write a program, which will ask the user how many whole numbers they wish to enter. The program will then read that many numbers, print them in the order they were entered, sort them in order by increasing value, and print them in sorted order.

  Compute the volume of write-back traffic in bytes

Compute the volume of write-back traffic in bytes. Provide a plot of the miss rate vs. the line size for line sizes of 32 bytes to 2 Kbytes. Note that line sizes are a power of 2.

  Write a c program that display the hexadecimal equivalent

Write a C program that will accept a hexadecimal number as input, and then display a menu that will permit any of the following operations to be carried out: (a) Display the hexadecimal equivalent of the one"s complement.

  Write the prototype and header for a function

Write the prototype and header for a function called calculate. The function should have three parameters: an int, a reference to a double, and a long (not necessarily in that order). Only the int parameter should have a default argument, which is..

  Calculate and display the number of units of electricity

The manager of PG&E wants a program that calculates a customer's electric bill. He will enter the current and previous meter readings.

  Write a c++ program to grade multiple-choice

Write a C++ program to grade multiple-choice, including True/False, questions for an exam given in a class. A class may have one or more sections.

  Evaluates the gross pay of a set of employees

Write a C program that will calculate the gross pay of a set of employees - determines both the overtime hours (anything over 40 hours) and the gross pay, and outputs

  Write a program to compute and print the mean

Write a program to print a report that lists the average power output for the the first week, the second week, and so on. Print the information in the following format

  Write a code for ludo game

Write a C++ code ludo game C++ is a statically typed, compiled, general-purpose, case -sensitive, free -form programming language that supports procedural, object -oriented, and generic programming.

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