0% found this document useful (0 votes)
6 views

Mridul ,class 11th Computer Practical file.pdf

The document outlines a series of programming tasks, each requiring specific functionality such as checking if a number is odd or even, finding the largest of three integers, testing divisibility, and calculating areas or sums. Each program is presented with an input and output section, indicating the expected behavior of the code. The tasks range from basic arithmetic operations to sorting and factorial calculations.

Uploaded by

neeravwrites
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Mridul ,class 11th Computer Practical file.pdf

The document outlines a series of programming tasks, each requiring specific functionality such as checking if a number is odd or even, finding the largest of three integers, testing divisibility, and calculating areas or sums. Each program is presented with an input and output section, indicating the expected behavior of the code. The tasks range from basic arithmetic operations to sorting and factorial calculations.

Uploaded by

neeravwrites
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Program 1: Program that takes a

number and checks whether the given


number is odd or even.

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:

You might also like