Computer Science, asked by vasehkSUKR2sr1, 1 year ago

Write a program to enter two digits number and add them and print its value


taannaa: in qbasic?

Answers

Answered by IndieLov
1
  A C# Program:

using System;

namespace WorkSpace
{
    public class Program
    {
         private static void Main(String[] Arguments)
         {
                string UserValue1 = Console.ReadLine();
                string UserValue2 = Console.ReadLine();
               
                UserValue1 = Int32.Parse(UserValue1);
                UserValue2 = Int32.Parse(UserValue2);

                int OutPut = UserValue1 + UserValue2;
                Console.WriteLine(OutPut.ToString());
                Console.ReadLine();
         }
    }
}

the source is attached.

IndieLov: i'm sorry, the source isn't attached. unfortunately brainly doesn't support .cs files :O
Similar questions