Hi all,
I have a question on how to use substitution variables within a loop. I want to prompt the user to enter a number and print the sum of consecutive numbers. e.g.
SQL> Enter a number: 8
Enter another number: 10
The sum is 18!

Enter a number: 15
The sum is 33

Enter a number: 50
The sum is 83

............and so on till the user enters a non integer value say "x".
How do I prompt the user from within a loop. Please Help.

Thanks in advance