Create C++ full program where a user enter two numbers, after a menu should prompt a user to
decide whether to:
i. Add
ii. Divide
iii. Subtract
iv. Multiply and
v. Exit
Using a nested for loop, create a program that will display the following:
55555
4444
333
22
1
Your task is to write array implementation of a list with default, parameterized and copy constructor. Perform basic operation such as insert, delete, search and call them in main function.
Note:No global declarations
write a program using array 1,2,3,4,5 and insert midle 5,6 and delete 3 ?
Cost of cementing
Walkway
Our goal is to find out the cost of cementing given
the other parameters about the park.
The length and breadth of the rectangular park are
in a ratio x:y and the perimeter of the park is
given as p meter. The walk way of wm wide is built
along the border inside the park. We have to find
the total cost of cementing that path at the rate of
Rs. r per m²
The following program prompts the user to enter the size of the fertilizer bag, in pounds, the cost, and the area, in square feet, that can be covered by the bag. The program should output the desired result. However, the program contains logic errors
Create C++ full program that calculates Surface Area of a Sphere, knowing that the
Surface Area of a Sphere = 4 pi r2 (where r is radius of circle) and PI = 3.14.
Create C++ full program that allows Exams Officer to add a Semester Mark and
Examination Mark, and Give Final Mark as Average of the two. The program must then
do the following:
✓ Display Semester mark, Examination mark, and Final mark
✓ If final mark less than 40 results =”FAIL SUBMINIMUM”
✓ If final mark greater than or equal to 40 and less than 50 results=”FAIL
SUPPLEMETARY”
✓ If final mark greater than or equal to 50 and less than 75 results=”PASS”
✓ If final mark greater than 75 and less than 100 results=”PASS DISTINCTION”
✓ Otherwise results= “Invalid Input”
Create C++ full program that enables a lecturer to enter marks of student, the
lecture should add marks for Test 1, Test 2 and Test3, then the program should:
✓ Calculate the average of the test,
✓ Show whether the student qualify for exam or not,
✓ It must also shows qualified with a distinction if above 75.
Write a function ComputeVal that takes one integer parameter and returns 4 times the parameter.
Ex: ComputeVal(3) returns 12.