That worked perfectly I changed my int's to doubles and now I'm getting the correct response.
One more question on the other program I have:
public class IfTest1
{
public static void...
Type: Posts; User: loofy
That worked perfectly I changed my int's to doubles and now I'm getting the correct response.
One more question on the other program I have:
public class IfTest1
{
public static void...
import java.util.Scanner;
public class IfTest0
{
public static void main(String[] args)
{
Scanner scan = new Scanner( System.in );
//Prompt Hits