Formula Based Programs
1) WAJP to find the Square of a number.
2) WAJP to find the Cube of a number.
3) WAJP to find the Sum of two numbers.
4) WAJP to find the Difference of two numbers.
5) WAJP to find the Product of two numbers.
6) WAJP to find the Quotient of two numbers.
7) WAJP to find the Remainder of two numbers.
8) WAJP to find the Average of two numbers.
9) WAJP to find the Square and Cube of a numbers.
10) WAJP to find the Sum, Difference, Product and Average of two numbers.
11) WAJP to find the Area of Rectangle.
12) WAJP to find the Area of Triangle.
13) WAJP to find the Area of Circle.
14) WAJP to find the Perimeter of Rectangle.
15) WAJP to find the Perimeter of Triangle.
16) WAJP to find the Circumference of Circle.
17) WAJP to calculate the Total and Percentage of 3 subjects’ marks.
18) WAJP to accept input in days and print the number of Years, number of Months and number of Days.
[ Sample Input: Enter the Number of Days 879
Sample Input: 2 Years 4 Months 29 Days ]
19) WAJP to accept height in centimeters and print the height in Feet and Inches.
if-else programs
20) WAJP to check the person is Eligible to Vote or not.
21) WAJP to check the student is Pass or Fail.
22) WAJP to check the number is Positive or Negative
23) WAJP to check the number is Even or Odd.
24) WAJP to check the number is Greater than 10 or not.
25) WAJP to compare two numbers and print First Number is Greater or Second Number is Greater.
26) WAJP to find the person is in Profit or Loss.
27) WAJP to print the Week Days. (i.e. 1 for Sunday, 2 for Monday, … ,7 for Saturday)
28) WAJP to print the Month Names. (i.e. 1 for January, 2 for February, … ,12 for December)
29) WAJP to print the Number Names till 10. (i.e. 1 for One, 2 for Two, … ,10 for Ten)
if-else-if programs
27) WAJP to check the number is Zero, Positive or Negative
28) WAJP to check the number is Zero, Even or Odd.
29) WAJP to check the number is Greater than 10, not Greater than 10 or Number is 10.
30) WAJP to compare two numbers and print First Number is Greater, Second Number is Greater or Both Numbers are Equal.
31) WAJP to find the person is in Profit, Loss or No Profit No Loss.
35) WAJP to calculate the Total and Percentage of 3 subjects’ marks and Grade.
[Above 95 A+, 90-94 A,80-89 B,70-79 C, 60-69 D, 50-59 E,40-49 F, Below 40 Fail]
switch-case programs
36) WAJP to print the Weekdays. (i.e. 1 for Sunday, 2 for Monday, … ,7 for Saturday)
37) WAJP to print the Month Names. (i.e. 1 for January, 2 for February, … ,12 for December)
38) WAJP to print the Number Names till 10. (i.e. 1 for One, 2 for Two, … ,10 for Ten)
39) WAJP to find Square or Cube according to choice (i.e. 1 for Square, 2 for Cube).
40) WAJP to find Addition, Subtraction, Product or Quotient according to choose (i.e. 1 for Addition, 2 for Subtraction, 3 for Product, 4 for Quotient).
41) WAJP to find Area or Circumference of a Circle according to choice (i.e. 1 for Area, 2 for Circumference).
42) WAJP to find Area or Perimeter of a Rectangle according to choice (i.e. 1 for Area, 2 for Perimeter).
43) WAJP to find Area or Perimeter of a Triangle according to choice (i.e. 1 for Area, 2 for Perimeter).