Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Helping customers achieve their business goals done.

Lakshmikanth Rajamani krlakshmikanth

💭
Helping customers achieve their business goals done.
View GitHub Profile
@krlakshmikanth
krlakshmikanth / Main.java
Created Mar 30, 2017
Sort 3 Integers without using if condition. Examples Input : a = 3, b = 2, c = 9 Output : 2 3 9 Input : a = 4, b = 1, c = 9 Output : 1 4 9
View Main.java
import java.util.Scanner;
import java.lang.Math;
class Main {
public static void main(String[] args)
{
int a,b,c;
Scanner sc = new Scanner(System.in);
a=sc.nextInt();
b=sc.nextInt();
c=sc.nextInt();
@krlakshmikanth
krlakshmikanth / Main.java
Created Mar 30, 2017
Sort 3 Integers without using if condition.
View Main.java
import java.util.Scanner;
import java.lang.Math;
class Main {
public static void main(String[] args)
{
int a,b,c;
Scanner sc = new Scanner(System.in);
a=sc.nextInt();
b=sc.nextInt();
c=sc.nextInt();