Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
ArithmeticOperations
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { float a,b,sum,sub,pro,div; Console.WriteLine("Enter Two int Values:"); a = float.Parse(Console.ReadLine()); b = float.Parse(Console.ReadLine()); sum=a+b; sub=a-b; pro=a*b; div=a/b; Console.WriteLine("Sum= {0}\nSubtraction= {1}\nProduct= {2}\nDivison= {3}",sum,sub,pro,div); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
CubexSoft
Rand things kurs 8 network
CommandForce3
Distinct of the given array
vera
Map usernames from domain\username format to username@domain.com format
WDW
Pentagon`s area
Saga name NLog
DI
Please log in to post a comment.