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);}}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here