Q1 Write a program to find the sum of two numbers
Q2 write a program to accept five Number find addition, subscription, multiplication division,
and remainder
Q3 write a program to accept two number from the user and find the area of rectangle
Q4 write a program to accept basic salary from the user find HRA 20% of the basic DA 5% of the
basic and also calculate the total salary
Q5 write a program to profit and loss when sailing price and cost price is given
Q6 write a program to find the perimeter of a circle
Q7 write a program to find perimeter of square and rectangle
Q8 write a program to find the sum and the average of three number
Q9 write a program to find the queue of a number
Q10 write a program to find the area of triangle when three sides are given
Q11 write a program to find the area and and circumference of a circle
Q12 write a program to find the area in the perimeter of a square
Q13 write a program to display counting from 1 to 10
Q14 write a program to print all the even number from 1 to 20
Q15 write a program to find the odd number from 1 to 20
Q16 write a program to check whether a year is a leap year or not
Q17 write a program to accept the age and check whether he is eligible for vote or not
Q18 write a program to convert the temperature from Fahrenheit to Celsius
Q19 write a program to check whether the inputted number is order even
Q20 write a program to convert the temperature from Celsius to Fahrenheit
Q21 write a program to find the sum of following series
2,4,6,8………………………………..100
Q22 write a program to display the reverse counting from 100 to 1
Q23 write a program to accept a number from the user display the name of the day according
to the number
Q24 write a program to accept a number from the user and display the month according to the
number
Q25 write a program to display the table of that number
Q26 write a program to display the square of a number from 1 to 20
Q27 write a program to calculate the grade of the student according to the number like 90
marks a grade 80 marks B grade 70 marks C grade 60 marks degrade 50 marks E grade else F
grade
Q28 write a program to display the report card of a student, including name, marks and father’s
name
Q29 write a program to accept the five number from the user find the percentage of it
Q30 write a program to display all string function like concatenation to upper to lower replace
length empty and charAt