Skip to content

Commit c12b118

Browse files
authored
Add files via upload
1 parent d9a400a commit c12b118

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

stdin1.java

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import java.util.Scanner;
2+
3+
public class stdin1 {
4+
public static void main (String args[]){
5+
Scanner scan = new Scanner(System.in);
6+
int a = scan.nextInt();
7+
float b = scan.nextFloat();
8+
System.out.println("integer number is" +a);
9+
System.out.println("floating point number is" +b);
10+
11+
12+
13+
}
14+
}

0 commit comments

Comments
 (0)