I’m really new to Java so please excuse if this isn’t the 100% right way to even write this code. So I’ve been messing around with this code for about 6 hours now, and I can not for the life of me figure out how to fix this issue: I have a compound interest calculator that takes user input for
Tag: logic
JAVA program that checks if a triangle is scalene, isosceles, equilateral, or not a triangle
I am trying to write java program to see if a triangle is scalene, isosceles, equilateral or not a triangle. With the integers I used it is supposed to be not a triangle (1, 1, 30). But I keep getting scalene and not a triangle together. Any help is appreciated! Thank you! Answer You should check for not a triangle