543316.3271440.9 imes 32qy7
Jump to level 1
Compute: z=(y^(2))/(x^(3))
Ex: If the input is 2.04 .0 , then the output is:
2.0
#include xyz≫xcin≫y≪<(1)z≪z≪
Mybrary>CS210ProgrammingLanguages home2.10:Math functions
zyBooks catalog Help/FAQ megan kewish
543316.3271440.qx3zqy7
Jump to level1
Compute:z/x ExIf the input is 2.04.0.then the output is 2.0
3
1 #include <iostream> 2#include<cmath> 3#includekiomanip> 4using namespace std; 5 6int main{ 7 double x; 8 double y; 9 double z; 10 11 x<<u 12 cin>>y 13 14 double| 15 16 cout <<fixed <<setprecision1//setprecision1outputs z with 1 decimaplace 17 cout<<z<<endl;
2
3
41F
QSearch
W
2