We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 16
Program to input three numbers and
print their sum
Program to input a number and print it’s cube Write a program to input two numbers and swap them Write a program to input two numbers and print their remainder Write a program to input age in years and print in days Program to input age from user and as per the input-age, one is eligible to vote or not Program to input two numbers and check if the two numbers are equal or not Program to check if the given number is more than 100 or not Program to check weather a given number is odd or even Program to accept three integers and print the largest of the three. Make use of only if statement. Program to print all items in the list containing some colour names in it Program to compute total marks from the marks of different subjects stored in the form of the list
Program to print table of any number
Program to print sum of natural numbers as per user’s input Program to print squares of natural numbers as per user’s input