0
`class Program
{
    static void Main(string[] args)
    {
        int Likes = 1;

        Likes = Console.Read();

        if (Likes == 1)
        {
            Console.WriteLine("Friend1 likes your post");
        }
        else if (Likes == 2)
        {
            Console.WriteLine("Friend1 and Friend2 like your post");
        }
        else
        {
            Console.WriteLine("Friend1 and Friend2 and" + Likes + "number of  
  other people like your post");
        }
        `

Output: 1 Friend1 and Friend2 and49number of other people like your post Press any key to continue. . .

Mghate
  • 33
  • 2

0 Answers0