Tuesday, 31 October 2017
java input output problms with solution
Question 01
Show the result of the following code:
System.out.println(
2
* (
5
/
2
+
5
/
2)
);
System.out.println(
2
*
5
/
2
+
2
*
5
/
2
);
System.out.println(
2
* (
5
/
2
));
System.out.println(
2
*
5
/
2
);
Output
8
10
4
5
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment