Assignment on Method4
[Non-void Method with Parameters]
1. Write a Java program using a method called long square(int n) to find the Square of any number.
2. Write a Java program using a method called long product(int n1, int n2) to find the Product of two number.
3. Write a Java program using a method called int area(int l int b), int perimeter(int l int b) to find the area and perimeter of Rectangle.
4. Write a Java program using a method called float simpleInterest(float p, float r, float t) to find the Simple Interest.
5. Write a Java program using a method called long factorial(int n) and int sumOfSeries(int n) to print the Factorial /Sum of Series S=1+2+3+.... +n
Assignment on Method3
[Non-void Method without Parameters]
1. Write a Java program using a method called long square() to find the Square of any number.
2. Write a Java program using a method called long cube() to find the Cube of any number.
3. Write a Java program using a method called long product() to find the Product of two number.
4. Write a Java program using a method called double division() to find the quotient of two number.
5. Write a Java program using a method called long square(), long cube() to find the square and cube of any number.
6. Write a Java program using a method called int area() to find the Area of Rectangle.
7. Write a Java program using a method called int area() to find Area of Triangle.
8. Write a Java program using a method called float area() to find Area of Circle.
9. Write a Java program using a method called float simpleInterest() to find the Simple Interest.
10. Write a Java program using a method called int area(), int perimeter() to find the area and perimeter of Rectangle.
Assignment 2 on Method2
[void Method with Parameters]
1. Write a Java program using a method called void areaOfRectangle(int l, int b) to find the Area of Rectangle.
2. Write a Java program using a method called void areaOfTriangle(float b, float h) to find Area of Triangle.
3. Write a Java program using a method called void areaOfCircle(float r) to find Area of Circle.
4. Write a Java program using a method called void simpleInterest() to find the Simple Interest.
5. Write a Java program using a method called void areaOfRectangle(int l, int b), void perimeterOfRectangle(int l, int b) to find the area and perimeter of Rectangle.
[Date: 02/04/2025]
[Date of Submission: 04/04/2025]
Assignment 1 on Method2
[void Method with Parameters]
1. Write a Java program using a method called void square(int n) to find the Square of any number.
2. Write a Java program using a method called void cube(int n) to find the Cube of any number.
3. Write a Java program using a method called void product(float a, float b) to find the Product of two numbers.
4. Write a Java program using a method called void division(float a, float b) to find the quotient of two numbers.
5. Write a Java program using a method called void square(int n), void cube(int n) to find the square and cube of any number.
[Date: 28/03/2025]
[Date of Submission: 02/04/2025]
Assignment 2 on Method1
[void Method without Parameters]
1. Write a Java program using a method called void areaOfRectangle() to find the Area of Rectangle.
2. Write a Java program using a method called void areaOfTriangle() to find Area of Triangle.
3. Write a Java program using a method called void areaOfCircle() to find Area of Circle.
4. Write a Java program using a method called void simpleInterest() to find the Simple Interest.
5. Write a Java program using a method called void areaOfRectangle(), void perimeterOfRectangle() to find the area and perimeter of Rectangle.
[Date: 24/03/2025]
[Date of Submission: 26/03/2025]
Assignment 1 on Method1
[void Method without Parameters]
1. Write a Java program using a method called void square() to find the Square of any number.
2. Write a Java program using a method called void cube() to find the Cube of any number.
3. Write a Java program using a method called void product() to find the Product of two number.
4. Write a Java program using a method called void division() to find the quotient of two number.
5. Write a Java program using a method called void square(), void cube() to find the square and cube of any number.
[Date: 18/03/2025]
[Date of Submission: 21/03/2025]