0
What's wrong in this program?
HoverCraft program of codecoach https://code.sololearn.com/cbZzLctlT50h/?ref=app
3 Respuestas
+ 1
import java.util.*;
public class Program
{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
long a=21000000;
int in=sc.nextInt();
if(in*3000000>a)
System.out.println("Profit");
else if(in*3000000==a)
System.out.println("Broke Even");
else
System.out.println("Loss");
}
}
+ 1
Check this one. Copy and paste it.
0
Hey?.