Answers for "int to double typecasting in cpp"

C++
0

c++ convert int to double

int a{5},b{2},c{9};
double d = (double)a / (double)b + (double)c;
Posted by: Guest on June-23-2020

Code answers related to "int to double typecasting in cpp"

Browse Popular Code Answers by Language