Assignment 01

View

Solve the following questions using JAVA:

  1. Write a Java program to convert temperature from Fahrenheit to Celsius degree.
  2. Write a program to test a year if it is a leap year or not.
  3. Write a program to evaluate the following series 1^2 +3^2+5^2+............................ Up to n terms
  4. Write a program to evaluate the following series 1-2+3-4+............................ Up to n terms
  5. Write a program to find the factorial of a number.
  6. Write a program to find the power for a given base and exponent.
  7. Write a program to find the Bangla season from a given month using if/switch.
  8. Write a program to find the largest number in a list of Array.
  9. Write a program to sort some numbers in ascending order.

Assignment Submission Form: Click here!