Hi everyone, I am very new to C++ I have never done any type of programing also. I am really having a hard time learning how to write programs. I am using a book called C++ programming by larry ullman and Andreas Signer. The problem is I am following the instructions and examples in the book pretty good but my professor assigns problems that are nothing like the examples in the book. I am having trouble with loops and While loops. The questions he is asking
1. write a program that uses loop structure to run a adding total untill it hits a negative number and then stops showing the total of positive numbers
2. write a program that prints out in reverse such as I enter five four three and it prints out three four five
3. Using a loop write a program that prints integers 1-10 and there sqrt's and cubes.
I am not looking for anyone to write the programs for me I just want to see if someone can give me any resources that would be helpful in trying to figure out how to do these problems. Thanks in advance for you help, John