class testing
{
public static void main(String args[])
{
int investment = 10000;
int Sales = 12000;
if(investment > Sales)
System.out.println("Sorry! Your Company is in loss");
else if(investment < Sales)
System.out.println("Hurray! Your Company is in Profit");
else
System.out.println("Your Company is not making profit nor is under loss");
}
}
Oct 6, 2010