Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ConsoleApp27
- {
- class Program
- {
- static void Main(string[] args)
- {
- int counter = 0;
- do
- {
- counter++;
- Console.WriteLine($"Текущее значение счетчика: {counter}");
- } while (counter < 5);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment