0
how can I print 19.5
20th Jul 2016, 2:16 PM
Umair JR

3 Answers
+ 3
cout <<"19.5";
20th Jul 2016, 2:30 PM
Mukul Kumar

+ 1
or
double x = 19.5;
cout << x;
you have saved your number in a variable now
20th Jul 2016, 3:30 PM
Peter MĂŒller

0
thanx
20th Jul 2016, 2:32 PM
Umair JR

Often have questions like this?
Learn more efficiently, for free:
Hot today
Is this realistic enough?
2 Votes
Need friends
0 Votes
"Whatâs the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
Web Development
0 Votes
Please complete this code.
0 Votes
Cybersecurity techies
2 Votes