Draw the flowchart of this code below import java.util.*; public class Test { public static void main(String[] args) { Scanner scan = new Scanner(System.in); double base, height, area;...


Draw the flowchart of this code below




import java.util.*;
public class Test
{
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
double base, height, area;
System.out.println("Enter the value of base of triangle: ");
base = scan.nextDouble();
System.out.println("Enter the value of height of triangle: ");
height = scan.nextDouble();
area = base*height*0.5;
System.out.println("The area of triangle is: " + area);
}
}



Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here