Create C++ full program that calculates a factorial (!) of any number between 3 and 9; the
program should give feedback to the user if the number is less than 3(error number is less than 3), the program should also give feedback if number is greater than 9; you can use either the case or else statement also while loop if applicable
Create C++ full program that calculates area of a rectangle and triangle
You can write any program based on the title assigned.
Title: Sports Activity
The program must fulfil ALL the requirements below. The requirements listed below are the
MINIMUM requirement.
a) Create at least one (1) base class.
b) Create at least two (2) derived classes that inherit from the base class created in 2(a).
c) Create at least one (1) object for each class and one (1) array of objects for one of the classes.
d) Create at least one (1) default constructor for all the classes.
f) Apply dynamic memory allocation using keyword new and delete for any object or array
of objects.
g) Create at least one (1) virtual function.
h) Write sufficient comments to explain your program.
Create C++ full program that calculates the value of u. u=a+gv2
Hint: g must be constant
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 to compute the value of u for different values of x at distinct instances of time and plots the series of graphs on u vs plot.
write a program using array 1,2,3,4,5 and insert midle 5,6 and delete 3 ?
in the example there are 6 numbers 1,-2,3,-4,-5,6
the negative numbers in the given list are -2,-4 and -5 where the -2 is replaced with corresponding last positive number encountered which is 1.similarly -4 and -5 are replaced with 3
so the output should be 1 1 3 3 3 6
sample input1
1 -2 3 -4 -5 6
sample output1
1 1 3 3 3 6
sample input2
1 11 -13 21 -19
sample output2
1 11 11 21 21