Hey guys, i need some help with 2 programs that my teacher assigned me..
I just cant seem to figure them out. I'll type out what the program is, but I really dont have much code to show since I dont really know how to even get started so any help would be welcomed..
The only part I really dont know how to do is the average part.
--------------------------------
1. Write a program that asks the usr for a positive integer value. The program should use a "while-loop" to get the sum of all the integers from 1 to the number entered.