Generation

generate functionWed, 18 Sep 2024

a program that adds 5 numbers that the user enters

ng System; class Addition { static void Main() { Console.WriteLine("Enter two numbers"); int a = int.Parse(Console.ReadLine()); int b = int.Parse(Console.ReadLine()); int c = a + b; Console.WriteLine("The sum of {0} and {1} is {2}", a, b, c

Questions about programming?Chat with your personal AI assistant