Create the program in c++ to compute your final grade in quiz, online laboratory, exam 1, exam 2, and exam 3 with your name and section
I have project on round robbin scheduling so I want any real life example that is related to round robbin scheduling with c++ source cde
Director office requires applications from students for the award of scholarship. Each student is required to submit reg no, name, semester and capa in the last semester. The form recived are placed one over the other initially the administration don't know how many student will apply After reciving all the applications the administration check each application and formulate a list of students whose cgpa is more than 3.8 This list contains the student on top who applied first You are required to implement this senarioin C++ Assuming primitive functions are already given.
Write a C++ program to display Pascal's triangle.
Test data:
Input the number of rows : 5
Expected output:
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
Write a program in C++ to find the number ang sum in all integer between 100 and 200 which are divisible by 9.
Expected output:
Number between 100 and 200, divisible by 9.
108 117 126 135 144 153 162 171 180 189 198
In the farming Game, we define a class named Poultry. A poultry has five attributes: name, num, weight, Maxweight and price. Their names include "Chickens", "Rabbits", and "Pigs". representing three types of animals in a farm. In Poultry, "num" means the number of a specific animal that can be sold, and "weight" means the weight of a young animal. In particular, the weight of an animal can increase if it eats food by a member function "eatFood" defined in the class. Once the weight reaches Maxweight, it will cause the animal of the specific type become mature and old enough to be sold, and its price is defined by the variable "price" and the num will also be increased by 1. It is worth mentioning that only one young animal for each type is available in the farm for feeding. For example, after the young rabbit becomes mature enough to be sold, another young rabbit will come out and begin to be fed. In a poultry, "name"-Chickens, "num"-2, "weight"=1. "Maxweight"-7, "price"-30, mean that in your farm.
An automobile travels at an average speed of 55 miles per hour for four hours. Draw a flowchart, write an algorithm and design a C++ program that displays the distance driven, in miles that the car has traveled after 0.5 1.0, 1.5 hours, and so on until the end of the trip.
A machine purchased for P28,000 is depreciated at a rate of P4,000 a year for seven years. Draw a flowchart, write an algorithm and design a C++ program that computes and displays in a suitably sized list box a depreciation table for seven years. The table should have the following form:
Year
Depreciation
End-of-year value
Accumulated depreciation
1
4000
24000
4000
2
4000
20000
8000
3
4000
16000
12000
4
4000
12000
16000
5
4000
8000
20000
6
4000
4000
24000
7
4000
0
28000
Draw a flowchart, write an algorithm and design a C++ program for an inventory system that will alert the user to reorder an item based on:
a. The stock-on-hand or an order is below the reorder point
b. The item is not obsolete
Use the selection structure
Draw a flowchart, write an algorithm and design a C++ program for a store owner who wants to give 10% discount to the purchases made by customers who are at least 65 years old. Use the selection structure.
The area of a triangle whose sides a, b, and c can be computed by the formula:
𝑨𝒓𝒆𝒂 𝒐𝒇 𝑻𝒓𝒊𝒂𝒏𝒈𝒍𝒆 = √𝑠((𝑠 − 𝑎)(𝑠 − 𝑏)(𝑠 − 𝑐))
where S = (a+b+c)/2. On the other hand, the hypotenuse of a right triangle can be computed using the
formula:
3. 𝐻𝑦𝑝𝑜𝑡𝑒𝑛𝑢𝑠𝑒 = √𝑎
2 + 𝑏
2 .
Write a program that can compute for the Area of a Triangle and the Hypotenuse of a right triangle. Your
program must allow the user to choose what computation to take first. Only one computation at a time. Use
a function for each computation. Allow the user to repeat the entire process as often as he/she wants