Pages

Monday, 29 January 2018

C# PROGRAM TO PRINT SMILEY SYMBOL

C# PROGRAM TO PRINT SMILEY SYMBOL
using System;

namespace SmilingFace
{
    class Program
    {
        static void Main(string[] args)
        {
            int a = 1, i;
            for (i = 0; i < 250; i++) //prints love symbol 250 times
                Console.Write((char)a); 
                //Console.Write((char)1);
            Console.ReadKey();
           
        }
    }

}