yup sir i know how it works..but i do not know where to place it to me program because it has many methods on it
Type: Posts; User: darking123
yup sir i know how it works..but i do not know where to place it to me program because it has many methods on it
what i dont understand is placing the do and while in my program that has many method on it...can you guide me
after The Area of a Triangle will be output a message that will say DO YOU WANT TO CONTINUE?? if i type Y then the program will reloop to the start where i will input the height etc. again
any more other guides??cant seem to make it work because of its many method i do not know where to place it
how will i add do{ while() to my program
this is my program
import java.util.*;
public class Triangle {
Scanner br = new Scanner(System.in);
private double height;
private double base;