63 063
Assignments Done
99,1%
Successfully Done
In July 2018

Answer to Question #29599 in Action Script | Flash | Flex | ColdFusion for joe

Question #29599
wite a c++ program to print all integers from 1 to 20 and their square roots.
Expert's answer
#include <stdio.h>
#include <math.h>

int main() {
for (int i = 1; i <= 20; i++) {
printf("square root of %d is %.6lf\n", i, sqrt(i));
}
return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions