import cs1.keyboard;
public class MaxofTwo
{
public static void main (String [] args)
{
int n1; //define variable n1
int n2; //define variable n2
System.out.println ("Please enter the 1st number:");
n1 = keyboard.readInt();
System.out.println ("Please enter the 2nd number:");
n2 = keyboard.readInt();
if (n1>n2)
System.out.println ("The maximum number is : "+num1);
else
System.out.println ("The manximum number is: "+num2);
}
}
Compilation error : Package cs1 does not exist.
2007-03-10
23:07:23
·
6 answers
·
asked by
Starzar
1
in
Computers & Internet
➔ Programming & Design
what should i do then?
2007-03-10
23:11:57 ·
update #1
seriously i dont understand what u guys talking abt. abt the library and path...im just a newbie in java and need to be coached with specific directions..sorry.
2007-03-10
23:42:55 ·
update #2
wheres cs.1? whats the meaning of it?
2007-03-10
23:56:48 ·
update #3