Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Triangle_of_55_Stars
- {
- class Program
- {
- static void Main()
- {
- for (int row = 1; row <=10; row++)
- {
- for (int col = 0; col <row ; col++)
- {
- Console.Write("*");
- }
- Console.WriteLine();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement