Pages

Monday 6 May 2024

PPS PROGRAMS FOR PRACTICAL EXAM

1. Write a program to find maximum from 3 numbers using else if ladder structure.

2. Write a program to find minimum from 3 numbers using nested if else.

3. Write a program to find factorial of a number.

4. Write a program to print fibonacci series upto first n terms.

5. Write a program to create a user defined function check_prime(). Return 1 if number is not prime, return 0 if number is prime.

6. Develop a menu-based program to perform addition, multiplication, subtraction and division using user-defined function.

7. Write a program to print below pattern.

a b c d

a b c

a b

a

8. Write a program to print below pattern.

      *

    *  *

  *  *  *

*  *  *  *

PPS PROGRAMS FOR PRACTICAL EXAM

1. Write a program to find maximum from 3 numbers using else if ladder structure. 2. Write a program to find minimum from 3 numbers using ne...