logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

2. Design a C++ program and flow chart to input three numbers and then output the largest among the three, their sum and their product.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Object Oriented   Programming with C++

1.In an Organization every employee gets 20% house allowance, and 7% Transport allowance. Every employee who earns more than 10,000 pays income tax at the rate of 10%.Employees whose salary is more than 100000 pay 30% income tax. Design a C++ program used to input the salary of an employee and output his house allowance, transport allowance, gross pay, tax charged and Net pay (include a flow chart).

NB:

  • Gross pay = salary + allowances

  • Net pay is pay after all deuctions

 

    1. Design a C++ program and flow chart to input three numbers and then output the largest among the three, their sum and their product

 

  1. Assume the mean mark obtained in an exam depends on the mean mark of three subjects as shown

Mean Mark

Grade

70 to 100

A

60 to 69

B

50 to 59

C

40 to 49

D

 

Required;

Design a C++ program to input the marks of the three subjects and compute the mean exam mark and grade

 

Task

  • Input the marks for each of the three subjects

  • Compute and output the mean mark

  • Compute and Output the grade

 

  1. Design and Write a running c++ program that allows users to enter temperature in degrees Fahrenheit F and outputs that temperature in degrees Celsius( oC), and also outputs the temperature converted into Kelvin (K). Use the conversion table

 

Temperature in Celsius( oC)

Temperature in Fahrenheit(F

Temperature in Kelvin (K).

0C

F =(9/5 x 0C) + 32

K = 0C + 273

Example

100 0C

F =(9/5 x 100) + 32

=212F

 

K= 100 +273 =373K

 

(5/5)
Attachments:

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Um e HaniScience

959 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

922 Answers

Hire Me
expert
Husnain SaeedComputer science

825 Answers

Hire Me
expert
Atharva PatilComputer science

681 Answers

Hire Me