ANYONE COMPUTER GENIUS ( PLS HELP ) Tell this in programming language java ...... Write a program to input two nos . If the first no is greater than the the second no then print 'OK' otherwise print 'NICE' ( PLS HELP )
Answers
Answered by
1
Here is your answer...
class Computer
{
void accept(double a, double b)
{
if(a<b)
System. out. println("OK") ;
else
System. out. println("NICE") ;
}
}
class Computer
{
void accept(double a, double b)
{
if(a<b)
System. out. println("OK") ;
else
System. out. println("NICE") ;
}
}
mahimaminipdj9z3:
thanks
Similar questions