Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _04.NumbersDividedBy3WithoutReminder
- {
- class NumbersDividedBy3WithoutReminder
- {
- static void Main(string[] args)
- {
- int a;
- a = 1;
- while (a <= 100)
- {
- a++;
- if (a%3 == 0)
- {
- Console.WriteLine(a);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement