Is it possible to get floating vale of int? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 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 Antwort
+ 2
How I can replace prinft with cout
8th Feb 2020, 8:54 AM
Suman Shah
Suman Shah - avatar