Questions: 11 448

Answers by our Experts: 10 707

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Using a while loop write a program to compute the sum of numbers between 20 and 25


Problem = write a program that takes as input from the user three sides of a triangle(numbers),checks and displays whether the triangle is right angled triangle or not?

Write a program that will ask user to enter a digit character (i.e. ‘0’ or ‘1’ .... or ‘9’). If user

enters a non-digit character then the program should display message to re-enter correct input. If user

enters a correct character (i.e. a digit character) then your program should convert that character to

a same digit but in integer type. Do this for five inputs. Finally, add all digits and display their sum. Do

not use any library function or loops.


A New Telephone Company has the following rate structure for long distance calls:


● The regular rate for a call is $0.10 per minute. (10 marks)


● Any call started at or after 6:00P.M. (1800 hours) but before 8:00A.M. (0800 hours) is discounted 50 percent.


● Any call longer than 60 minutes receives a 15 percent discount on its cost (after any other discount is subtracted).


● All calls are subject to a 4 percent federal tax on their final cost.



Write a program that reads the start time for a call based on a 24-hour clock and the length of the call. The gross cost (before any discounts or tax) should be printed, followed by the net cost (after discounts are deducted and tax is added). Print instructions to the user and compute the net cost.

Write a program which takes a 9-digit number input from user, converts it into its reverse and then display one of the following statements: (


• Original number is x steps bigger (where x is the difference between the two) •


Reversed number is x steps bigger


• Both numbers are equal; hence it is a palindrome.

Write a complete C++ program that will prompt name, gender (M or F), age (in years) and marital status (single or married) for each student in FISE and calculate the numbers of married men, single men, married women and single women. Printthese numbers on a student summary report. If any single men are over 30 years of age, print their names and ages on a separate eligible bachelor’s report.



Write a program that will ask user to enter a digit character (i.e. ‘0’ or ‘1’ .... or ‘9’). If user enters a non-digit character then the program should display message to re-enter correct input. If user enters a correct character (i.e. a digit character) then your program should convert that character to a same digit but in integer type. Do this for five inputs. Finally, add all digits and display their sum. Do not use any library function or loops

Write a complete C++ program


a) that will prompt the number of the pancake produce per day, the thickness in mm (millimetres) and the diameter in cm (centimetres) of each pancake,


b) to identify and display minimum and maximum for both dimensions,


c) to calculate and display the average for both the dimensions



Write a program to create a class which name is rectangle and also creat two data members Wich data type is float and calculate area of triangle which formula is(area=1/2 *base*height) uses constructor

Write a program that would print the information (name, year of joining, address) of three employees by creating a class Employee. Create a method called setDetails(...) that takes 3 parameters and initialises the values of the parameters to the corresponding member variables. Create a method printInfo() that prints details of each employee. Create the main method and produce the following outputs: Name Year of joining Address Robert 1994 64C- WallsStreat Sam 2000 68D- WallsStreat John 1999 26B- WallsStreat Note: Write both the class Employee and the main method on the same file called Employee.cpp. 


LATEST TUTORIALS
APPROVED BY CLIENTS