You are on page 1of 10

Practical file

Pm shir kendriya Vidyalaya


Gole market
New delhi-110001

Submitted by :
Roll no. :
Name of faculty:

Program 1 Write a program to input a welcome message and print


Program 2 Program to obtain three numbers and print their sum :

Program 3 Program to obtain length and breadth of a rectangle and calculate its area
Program 4 Write a program to read distance in miles and print in kilometres

Program 5 write a program to input age from user and print if as per the input-age ,one is eligible to
vote or not
Program 6 Program that takes a number and check whether the given number is add or even

Program 7 Program to accept three integers and print the largest of the three. Make use of only if
statement.
Program 8 Write a program to print all items from a list containing some colour names in it

Program 9 Write Program to compute total marks from the marks of different, subjects stored in the
form of a list
Program 10 Program to print table of a number, say 5.

Program 11 Write a program to input a year and check if it is a leap year or not.
Program 12Write a program to input a number and check the following, if the number is Even and 50 Even
and 50 Even and Se Odd

Program 13 Write a Program to print squares of all numbers presunt in a lat 18:27, 11, 10, 67.
Program 14Write a program to print the numbers divisable by 5 from a goen lat of numbers 111, 25, 35, 26,
50, 611

Program 15Write a program to input a number and print the sum of digits in the given number
Program16. Write a program to input a number and print its reversed number
Program 17Write a program to print if a number is a palindrome number. A palindrome number is
the one, which is some as its reversed number.

You might also like