// Write a program that prints //* //** //*** //**** using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication5 { class Program { static void Main(string[] args) { for (int i = 1; i <= 4; i++) { for (int j = 1; j <= i; j++) { Console.Write("*"); } Console.WriteLine(); } Console.ReadKey(); } } }
No comments:
Post a Comment