Computer Science, asked by ashubeast00, 6 months ago

make 3 program of each - if -else if -Ladder , Switch statement,Menu Driven Programming, Nested Loops​

Answers

Answered by NAVA98
2

Answer:

using System;  

 

class GFG {  

 

   public static void Main(String[] args)  

   {  

       int i = 20;  

 

       if (i == 10)  

           Console.WriteLine("i is 10");  

       else if (i == 15)  

           Console.WriteLine("i is 15");  

       else if (i == 20)  

           Console.WriteLine("i is 20");  

       else

           Console.WriteLine("i is not present");  

   }  

}

Explanation:

Keep me in brainliest

Similar questions