Number sequence

please can i get some assistance. I need to write a code to display a given number sequence based on the amount of terms the user wants. The number sequence is 100,95,90,85,80....

so if the user inputs 7, the following two numbers will be added to the sequence. 75,70.

i have no idea how to start this what i do know is that flow control would be used most probably a for loop.
thanks
So I'm a little confused by the instructions. How many numbers can the user enter? They just enter a number between 0 and 10 and you only display two numbers based upon what they enter (1 = 10,15 : 2 = 20,25 : ect)?

If that's the case it would be incredibly easy, regardless of what the sequence is.
cout << input*10 << (input*10)+5;

Does the sequence just start at 100 and end at 80?
it starts at 100 and ends ar zero. but will only display the number or terms based on the user input
Topic archived. No new replies allowed.