JAVA
java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import java.util.*;
public class SampleProg
{
public static void main(String[] args) {
Scanner scan=new Scanner(System.in);
double a = scan.nextDouble();
double b = scan.nextDouble();
String data = scan.nextLine();
System.out.println(data +" "+ a +" "+ b);
}
}
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run