- 2

How to calculate area of Triangle, Rectangle using Java? (Code please) Thankss!

7th Sep 2018, 7:53 AM
MyElMaMi
2 Antworten
+ 5
Exactly as in real life: Triangle Area = heigth*width/2 Reactangle: Area = heigth*width
7th Sep 2018, 7:57 AM
Daniele Bonomi
Daniele Bonomi - avatar
+ 2
Let me give you hints: 1. Create Scanner class 2. take 2 number inputs. 3. Use the formulas of area 4.. Print the output If you encounter any problems, you may ask us
7th Sep 2018, 2:12 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar