The document lists various programming tasks and exercises, primarily focused on mathematical calculations, data handling, and algorithmic problem-solving. Each task is numbered and includes operations such as calculating areas, checking conditions, and generating series. The tasks are intended for practice in programming, particularly in Java.
The document lists various programming tasks and exercises, primarily focused on mathematical calculations, data handling, and algorithmic problem-solving. Each task is numbered and includes operations such as calculating areas, checking conditions, and generating series. The tasks are intended for practice in programming, particularly in Java.
No 1 Display your information in a program 2 Find difference, addition, product, quotient, and division 3 Find perimeter and area of a square 4 Accept radius of a circle and calculate its circumference and area 5 Find area and perimeter of a rectangle 6 Accept marks of 5 subjects and display total and percentage 7 Accept the side of a cube and calculate its volume 8 Accept length, breadth, and height of a cuboid and find its volume 9 Accept temperature in Fahrenheit and convert it into Celsius 10 Accept age of a person and check voting eligibility 11 Check whether a number is even or odd 12 Check if a number is divisible by 7 13 Check if a number is positive or negative 14 Accept three angles of a triangle and check if it's possible 15 Accept two numbers and display the greater one 16 Program to accept 3 sides of a triangle and check whether it is scalene, equilateral, or isosceles 17 Program to create a class 'mypicnic' without data members 18 Program to display the value of 'x++' and '++x' 19 Program to display the value of expressions (a+b)^2 & (a-b)^3 20 Program to find the eligibility of a person for voting 21 Program to check the possibility of a triangle using function arguments 22 Program to accept two numbers and display the greatest 23 Program to calculate and display the area and perimeter of a rectangle 24 Program to calculate and display the digits of a three-digit number 25 Program to calculate the time period of a simple pendulum 26 Program to calculate gross and net pay of an employee 27 Program to convert time in seconds to hours, minutes, and seconds 28 Program to swap two unequal numbers without using a third variable 29 Program to find the difference between Compound Interest and Simple Interest 30 Program to find the greatest and smallest of three numbers 31 Program to calculate the hypotenuse of a right- angled triangle 32 Program to evaluate and display results based on a user-entered number 33 Program to calculate average marks in three subjects 34 Program to calculate the radius of a circle from its area 35 Program to convert an angle in degrees to radians 36 Program to find an angle given the tangent ratio 37 Program to check if three angles can form a triangle and its type 38 Program to check if three numbers are equal and find the greatest 39 Program to check if a year is a leap year or a century year 40 Program to display the second smallest of three unequal numbers 41 Program to display the greatest and smallest of three unequal numbers 42 Program to calculate taxi fare based on distance covered 43 Program to calculate discounts and gifts based on total cost 44 Program to calculate gross salary based on basic salary and allowances 45 Program to convert temperature between Fahrenheit and Celsius 46 Program to display the day of the week based on a number input 47 Program to calculate the volume of cuboid, cylinder, and cone 48 Program to calculate equivalent resistance in series and parallel 49 WAP in Java to display the first ten terms of the series: 1, 2, 4, 7, 11... 50 WAP in Java to display the first ten terms of the series: 3, 6, 9, 12... 51 WAP in Java to display the first ten terms of the series: 4, 8, 16, 32... 52 WAP in Java to display the first ten terms of the series: 1.5, 3.0, 4.5, 6.0... 53 WAP in Java to display the first ten terms of the series: 0, 7, 26... 54 WAP in Java to display the first ten terms of the series: 1, 9, 25, 49... 55 WAP in Java to display the first ten terms of the series: 4, 16, 36, 64... 56 WAP in Java to display the first ten terms of the series: 0, 3, 8, 15... 57 WAP in Java to display the first ten terms of the series: 1, 4, 9, 16... 58 WAP in Java to display the first ten terms of the series: 24, 99, 224, 399... 59 WAP in Java to display the first ten terms of the series: 2, 5, 7, 10... 60 WAP to input 10 numbers and perform tasks: count/display positives & negatives, sum of both. 61 WAP to calculate and display the sum of all odd and even numbers between a given range. 62 WAP to enter 10 numbers and check divisibility by 5, display numbers ending with 5 or 0. 63 WAP to display numbers between M and N and check for perfect squares. 64 WAP to display all numbers between M and N and check for perfect squares. 65 WAP to display Buzz numbers between P and Q. 66 WAP to input marks in English, Maths, and Science for 40 students and perform analysis. 67 WAP to display the sum of the series: 1+4+9+...+400. 68 WAP to display the sum of the series: 1 + 1/2 + 1/3 + ... + 1/20. 69 WAP to display the sum of the series: 1 + 1/3 + 1/5 + ... + 1/19. 70 WAP to display the sum of the series: (1/2) + (2/3) + ... + (19/20). 71 WAP to display the alternating sum series: 2 - 4 + 6 - 8 + ... - 20. 72 WAP to display the sum of the series: (1*2) + (2*3) + ... + (19*20). 73 WAP to input a number and count its digits, checking if they are odd or even. 74 WAP to input a number, reverse its digits, and find the absolute difference. 75 WAP to find the GCD of two numbers using the continued division method. 76 WAP to compute the sum of the series: S = A^2 + A^2/2 + ... + A^2/10. 77 WAP to compute the sum of the series: S = A + A^2/2 + A^3/3 + ... + A^10/10. 78 WAP to compute the sum of the series: S = (A*2) + (A*3) + ... + (A*20). 79 WAP to compute the sum of the series: S = A + A^2 + A^3 + ... + A^N. 80 WAP to compute the sum of the series: S = 1 + 2^2/A + 3^3/A^2 + ... to N terms. 81 WAP to compute the sum of the series: S = 1/A + 1/A^2 + 1/A^3 + ... + 1/A^N. 82 WAP to input two numbers M and N and perform operations without using '+', '*', '/', or '%' operators. 83 WAP to check whether a number is a palindrome or a perfect number. 84 WAP to check whether a number is a prime number or an automorphic number. 85 WAP to generate a numerical series or find the sum of a mathematical series. 86 WAP to generate Fibonacci series or find the sum of digits of a number. 87 WAP to check whether a two-digit number is a special two-digit number. 88 WAP to find factors of a number or compute its factorial. 89 WAP to check whether a number is a Niven number. 90 WAP to check whether a number is a Spy number.