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: