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

  1. Input five float numbers.
  2. Print out the float numbers in one line, separated by spaces, and make sure you only print up to 1 decimal place.
  3. Add the first four float numbers and check if their sum is greater than the fifth float number. Print out "Yes" if they are.




Write a program to print the area of a rectangle by creating a function 'Area' taking the values of its length and breadth as parameters of its constructor and having a function named 'returnArea' which returns the area of the rectangle. Length and breadth of the rectangle are entered through keyboard. And return the area of rectangle.

Write a C++ program by creating an 'Employee' having the following functions and print the



final salary.



1 - 'getInfo()' which takes the salary, number of hours of work per day of employee as



parameters



2 - 'AddSal()' which adds $10 to the salary of the employee if it is less than $500.



3 - 'AddWork()' which adds $5 to the salary of the employee if the number of hours of work per



day is more than 6 hours.

Write a C++ program to calculate product of digits of a number.

Write a C++ program and flowchart to calculate sum of digits of a number.

Write a C++ program and flowchart to swap first and last digits of a number.

Write a C++ program and flowchart to find first and last digit of a number

Write a C++ program and flowchart to count number of digits in a number

Prepare a text file contains the name, age, id number, programme and coursework marks for each student in a class of at most 10 students.

 

Write a menu-driven program that allows entering queries as many times as he or she wishes. The menu should offer the following options: 


Add two more statements to main() to test inputs 3 and -1. Use print statements similar to the existing one (don't use assert).


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS