Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- using System.Collections.Generic;
- using System.Text;
- using System.Threading.Tasks;
- namespace CSharpLight
- {
- public static class Program
- {
- public static void Main()
- {
- int guestCount = 8;
- Console.Write("Придумайте текст приветствия:");
- String greeting = Console.ReadLine();
- for(int i = 1;i <= guestCount;i++)
- {
- Console.WriteLine(greeting);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment