0

Problems with triangle area

The lesson asked me to code a program that outputs a triangle area, with width and length as inputs. However, the inputs of the first test case were 1 and 42, and my program output was 21, totally different from the expected output, which was 42. So I don't know exactly whether I was wrong or the web. This is the best I could explain, but I would gladly explain further if asked!

7th May 2024, 5:50 PM
Good Nut
Good Nut - avatar
1 Antwort
+ 1
Can you send the link to the code?
7th May 2024, 7:55 PM
Junior
Junior - avatar