Homework Prog Fund - 6. Increment Variable - Help
Мога ли да помоля някого да ми обясни задачата?
Write a program to increment a byte variable (starting at 0) n times and print the result. If you detect an overflow (or several), print how many times there was an overflow alongside the variable value. Sounds simple, right?
Examples
Input Output
50 50
1000 232
Overflowed 3 times
256 0
Overflowed 1 times
Благодаря за помоща! Добавих и остатъка от кода
http://pastebin.com/FyJmeg5L