+ 2

What is the output of the code ????

Double a=5; Double b=0.1; Double p=a*b; Return p;

8th Aug 2020, 9:02 AM
namrata singh
namrata singh - avatar
6 Antworten
+ 2
0.5
8th Aug 2020, 10:51 AM
Learner
Learner - avatar
+ 2
No...
8th Aug 2020, 10:59 AM
namrata singh
namrata singh - avatar
+ 2
Ohk... there is no use of.. cout... so... u can't see anything on the... yours output screen.
8th Aug 2020, 11:06 AM
Learner
Learner - avatar
+ 2
Correct answer is no output... And thanks for your answer
8th Aug 2020, 11:50 AM
namrata singh
namrata singh - avatar
+ 1
No
8th Aug 2020, 10:51 AM
namrata singh
namrata singh - avatar
- 3
The output of this code will be 2.5 Because 5*0.5=2.5
8th Aug 2020, 9:10 AM
MOHIT Yede
MOHIT Yede - avatar