-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTest13.java
More file actions
36 lines (29 loc) · 811 Bytes
/
Test13.java
File metadata and controls
36 lines (29 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import java.io.*;
public class Test13
{
public static void main(String args[])throws IOException
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int eno;
String ename;
double esal;
float epf;
char egrade;
System.out.print("Enter Eno..:");
eno=Integer.parseInt(br.readLine());
System.out.print("Enter Ename..:");
ename=br.readLine();
System.out.print("Enter Esal..:");
esal=Double.parseDouble(br.readLine());
System.out.print("Enter Epf..:");
epf=Float.parseFloat(br.readLine());
System.out.print("Enter Egrade..:");
egrade=(char)br.read();
System.out.println("-------------------------------------");
System.out.println("Eno="+eno);
System.out.println("Ename="+ename);
System.out.println("Esal="+esal);
System.out.println("Epf="+epf);
System.out.println("Egrade="+egrade);
}
}