You are on page 1of 2

DELHI PUBLIC SCHOOL, DURGAPUR

SESSION 2023-24
COMPUTER APPLICATION
PRACTICAL FILE
CLASS VIII

NAME:- __________________________________
CLASS:-_________________SEC:-____________
ADM NO.:________________ ROLL NO.:-______
Programming with Flow of Control

1. Write a program in C++ to calculate the factorial of any number using a user

defined function fact().

2. Write a program in C++ to print the sum of first N natural numbers using a user

defined function Sum_Nat().

3. Write a program in C++ print the sum of all the even numbers and odd numbers

in between 1 to 10 using an array.

4. Write a program in C++ to print the square of any 10 numbers. The numbers

must be entered at run time by the user.

5. Write a program in C++ to create a calculator using user defined functions and

array.

6. Write a program in C++ to calculate the simple interest using class and object.

7. Write a program in C++ to calculate the area of triangle and circle using class

and object.

N.B- Practical file must be submitted to the respective subject teacher either a
day before or on the day of practical examination.

**************************************************************

You might also like