PLEASE BE AS QUICK AS POSSIBLE THIS IS DUE IN AN HOUR
USE JAVA CODE
You have a file called (Triangle.txt). The file contains three
lines. Each line contains 2 sides value represent the height and
base of triangle. Write a Java program that read all the records
from file and print the area result for each triangle line in
output screen according to the following rules.
Area = ½ X base X height
Sample files:
Input file (Triangle.txt)
9 2
6 12
16 2
The output screen contains information about the ellipse.
8
36
16
You have a file called (Triangle.txt). The file contains three lines. Each line contains 2 sides value represent the height and base of triangle. Write a Java program that read all the records from file and print the area result for each triangle line in output screen according to the following rules. Area = 1/2 X base X height Sample files: Input file (Triangle.txt) 92 6 12 16 2 The output screen contains information about the ellipse. 8 36 16
PLEASE BE AS QUICK AS POSSIBLE THIS IS DUE IN AN HOUR USE JAVA CODE You have a file called (Triangle.txt). The file cont
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
PLEASE BE AS QUICK AS POSSIBLE THIS IS DUE IN AN HOUR USE JAVA CODE You have a file called (Triangle.txt). The file cont
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!