C# PROGRAM TO PRINT LOVE SYMBOL
C# program to print love symbol
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
using System; namespace LoveSymbol { class Program { static void Main(string[] args) { int a = 3, i; for (i = 0; i < 250; i++) //prints love symbol 250 times Console.Write((char)a); //Console.Write((char)3); Console.ReadKey(); } } } |
original post
Explanation : Actually here we are printing the ASCII value of 3 . Which gives a love symbol.
you can also print directly by writing the following code.Console.Write((char)3);
For C program to print love symbol click here
you can also print directly by writing the following code.Console.Write((char)3);
For C program to print love symbol click here
Output:
wow ur great sameer ………….!