Write a Java class that includesa method that calculates and displaysall triplets where the values of a, b and c are less than 100 and a< b < c.
You must also limit the valueof c2 to multiples of 3.
You may use the Math class methods in your solution.
Write a Java class that includes a method that calculates and displays all triplets where the values of a, b and c are l
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am