Is your program:
1) Not compiles
* Is other code compiles correctly, i. e. is your compiler configured properly
* If so, give us error message and corresponding code part.
2) Not running
* Are you sure that it is not a problem with automatically closing console?
* How do you run it?
* Is there any error messages?
3) Gives an error when run
* Is it system error message or error reported in console?
* Give us error message and input which leads to error.
4) Not giving correct results
* Tell what you entered, what you expected, and what you got.
* Are you sure that results you expected are correct?
When you use a while statement you cant use a ; after a big no no also when using a logic check in a while statement you need to define before or it wont run and just changed it to a number to make easier
Also you should change your int for you sum, etc to a float otherwiese you wont get and decimal