Experiment 1: 1. Write A Program For Hello World
Experiment 1: 1. Write A Program For Hello World
OUTPUT:
2. Write a program to find factorial of a number
SOURCE CODE:
OUTPUT:
3. Write a program to find the average of 10 numbers.
SOURCE CODE:
OUTPUT:
4. Write a program to find whether number is even or odd.
SOURCE CODE:
OUTPUT:
5. Write the program to find square of number.
SOURCE CODE:
OUTPUT:
6. Write a program to find lcm and hcf.
SOURCE CODE:
OUTPUT:
7. Write a program to find largest of three numbers.
SOURCE CODE:
OUTPUT:
8. Write a program to find the largest and smallest of 10
numbers.
SOURCE CODE:
OUTPUT: