Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Console.Write("Please enter a value for l: ");
- String input = Console.ReadLine();
- Console.Write("Please enter a value for h: ");
- String input2 = Console.ReadLine();
- int h = int.Parse(input);
- int l = int.Parse(input2);
- for (int i = 0; i < h; i++)
- {
- for (int j = 0; j < l; j++)
- {
- Console.Write("*");
- }
- Console.WriteLine();
- }
- Console.ReadKey();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement