[email protected]
+91 9175287066
You are Visitor No : 740210
MENU
HOME
TECHNOLOGY
C LANGUAGE
C#.NET
C++
HTML5 & JAVASCRIPT
JAVA
MASM
ORACLE
INTERVIEW FAQ
TECHNICAL QUESTIONS
INTERVIEW QUESTIONS
PROJECTS
BLOG
CONTACT
This website is always under updation with new contents
Programs
WAP for addition, subtraction, multiplication & division
using System; namespace ConsoleApplication { class Math_opr { static void Main(string[] args) { int a,b; Console.Write("Enter the first number : "); a=Convert.ToInt32(Console.ReadLine()); Console.Write("Enter the second number : "); b=Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Addition of two number is : {0}",a+b); Console.WriteLine("Subtraction of two number is : {0}",a-b); Console.WriteLine("Multiplication of two number is : {0}",a*b); Console.WriteLine("Division of two number is : {0}",a/b); Console.Read(); } } } OUTPUT : - Enter the first number : 50 Enter the second number : 10 Addition of two number is : 60 Subtraction of two number is : 40 Multiplication of two number is : 500 Division of two number is : 5
For accessing computer programs go to TECHNOLOGY