Code:
public class greatest
{
	public Static void main (String args[])
	{
		int a,b,c;
		a=10;
		b=20;
		c=15;
		if(a>b&&b>c)
		{
		System.out.println("a is greatest number");
		}
		else if(b>a&&b>c)
		{
		System.out.println("b is greatest number");
		}
		else
		{
		System.out.println("c is greatest
...