+ 2
Where did I go wrong?
3 Respuestas
+ 4
Donna he need to use float. use of int will give 0 as a output. because int can't show value after point
+ 3
#include <iostream>
using namespace std;
int main() {
float a=12,b=14;
float* pa=&a;
float* pb=&b;
cout << *pa/ *pb << endl;
return 0;
}
this is it.
+ 1
Thanks all of you.