Is it possible to get floating vale of int? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is it possible to get floating vale of int?

Suppose I have enter two int vale to a function that returns sum of that number but it returns int value at final so I want to print it as 20.00 like float so is it possible

8th Feb 2020, 2:28 AM
Suman Shah
Suman Shah - avatar
1 Answer
+ 2
How I can replace prinft with cout
8th Feb 2020, 8:54 AM
Suman Shah
Suman Shah - avatar