0
Ghena modify this so someone can place float values
#include <iostream> using namespace std; double t; class lupe{ public: double kip1(int t){ float result=((t*t*t)-6*(t*t)+35)/(t-3); cout<<result<<"."; } double kip(int t){ float result=((t*t*t)-6*(t*t)+35)%(t-3); cout<<result; } }; int main(){ cin>>t; lupe obj; obj.kip1(t); lupe obk; obk.kip(t); }
2 Réponses
+ 11
You should post this feedback as a comment on Ghena's code so that s/he can see this and modify the code.
0
Amma do it