Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #107.80K
~357 People Reached
Favorite Forums
Favorite Tags
java x 1

1 Posted Topic

Member Avatar for datta.saru@gmai

[code]import java.io.*; class add { public static void main(String arg[]) { float c,a,b; try { DataInputStream x=new DataInputStream(System.in); System.out.println("Enter two numbers"); a=Float.parseFloat(x.readLine()); b=Float.parseFloat(x.readLine()); c=a+b; System.out.println("sum="+c); } catch(Exception e) { } } }[/code]

Member Avatar for yasuodancez
0
357

The End.