Mridul ,class 11th Computer Practical file.pdf
Mridul ,class 11th Computer Practical file.pdf
INPUT:
OUTPUT:
Program 2: Program to accept 3 integers
and print the largest of the three. Make
use of only if statement.
INPUT:
OUTPUT:
Program 3: Program to test the
divisibility of a number with another
number (i.e.if a number is divisible
by another number)
INPUT:
OUTPUT:
Program 4: Program to find the multiples
of a number out of the given 5 number.
INPUT:
OUTPUT:
Program 5: Program to display a menu for
calculating area of a circle or perimeter of
a circle.
INPUT:
OUTPUT:
Program 6: Program that reads two
numbers and an arithmetic operator
and displays the computed result.
INPUT:
OUTPUT:
Program 7: Program that reads three numbers
and print them in ascending order.
INPUT:
OUTPUT:
Program 8: to print whether a
given character is an uppercase
or a lowercase character or digit
or any other character.
INPUT:
OUTPUT:
Program 9: Program to print table of a number.
INPUT:
OUTPUT:
Program 10: to print the sum of
natural numbers between 1 to 7.
INPUT:
OUTPUT:
Program 11: to calculate the
factorial of a number.
INPUT:
OUTPUT: