Ask your own question, for FREE!
Computer Science 18 Online
OpenStudy (anonymous):

c++ .......Write a while loop that displays each integer from 1 to 5 together with its square and cube. Display all three values for each integer on a separate line. .

OpenStudy (anonymous):

which part are you having problems with?

OpenStudy (anonymous):

#include <iostream> using namespace std; int main() { for(int i=1; i<6; i++) { cout << i << "\n"; } return 0; } Here is the start of the program. Do you understand how this is working? If so you should be able to finish the problem

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!