Description
- Write a C++ program that can solve the following equation:
𝑍 = 2𝑥10 + 3𝑦8 − 31
- Write a C++ program to display the following output using any loop: 1
22
333
4444
55555
- A cricket team has the following table of batting figures for a series of ODI matches:
| Player Name | Runs | Innings | Time not out |
| Shakib Al Hasan | 6062 | 200 | 20 |
| Tamim Iqbal | 5689 | 167 | 10 |
| Mushfiqur Rahim | 5521 | 171 | 15 |
Write a C++ program to read the following figures set out in the above form, to calculate the batting averages and to display the complete table including the batting averages.
- Write a C++ function that can solve a particular problem using function overloading. (NB: You can use Problem no. 3)
- Define a class that represents a bank account. Include the following members:
Member Data:
- i) Name of the depositor ii) Account number iii) Type of account iv) Balance amount in the account Member Function:
- i) To assign initial values (name, account no., type of acc., balance) ii) To calculate total amount after a certain number of years (use the compound interest formula to calculate the final amount) iii) Display account holder name and total amount
- Write a C++ program that can initiate private member data using constructor function.
- Write a C++ program to call a constructor function both implicitly and explicitly.
- Write a C++ program to solve a particular problem using single/ multiple/ multilevel/ hierarchical.
(NB: You can use same problem in different types of inheritances)
- Write a C++ program that can convert temperature in Celsius into Fahrenheit.
- Write a C++ program that uses objects as function arguments.
- Write a C++ program that can take and display all the employees’ names and ages in a company. Use array of objects to access individual employee.
- Write a C++ program to solve the following equation:
𝐴 = 1 + (1/2)2 + (1/3)3 + (1/4)4 + … + (1/𝑛)𝑛
- Write a C++ program that can take the input from users and calculate the “AREA” of the corresponding shape from the table below:
| Shape | Input |
| Trapezium | T |
| Circle | C |
| Square | S |
| Rhombus | R |



