Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int a = 0;
- int sum = 0;
- do
- {
- a = int.Parse(Console.ReadLine());
- sum = sum + a;
- } while (a != 0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement