Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace testing
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine("Введи сообщение:");
- string userInput = Console.ReadLine();
- Console.WriteLine("Сколько раз вывести?");
- int outputAmount = Convert.ToInt32(Console.ReadLine());
- for (int i = 0; i < outputAmount; i++)
- {
- Console.WriteLine(userInput);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement