DEV Community

Cover image for Today I have attempted 5 java programming exercises 😊.
Rafeek01
Rafeek01

Posted on

Today I have attempted 5 java programming exercises 😊.

  1. Write a Java program to print the area and perimeter of a circle.

  2. Write a Java program that takes three numbers as input to calculate and print the average of the numbers.

  3. Write a Java program to print the area and perimeter of a rectangle

  4. Write a Java program to print an flag on the screen.

  5. Write a Java program to swap two variables.


Exercise from w3resourse


I am new to programming. I will be happy if you can give some advice..
have a great day

Top comments (0)