1.02: Sum two Numbers
OBJECTIVE
Write a C# program to print the result of adding 12 and 21 on screen. Compile it using Mono. Check that the resulting EXE file works properly.
RESOLUTION
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace My3Development
{
class SumTwoNumber
{
static void Main(string[] args)
{
Console.WriteLine("12+21= "+(12+21));
Console.ReadKey();
}
}
}
0 comments :
Please Enter best of your Comments