but i dont know exactly how to place the code, i believe it will have to be like a if statement..
can someone please help me. my + code works so far it is as follows...
string plus = String.Format(Console.ReadLine());
Console.WriteLine("Enter a number that you want to add up?");
int valA = Int32.Parse(Console.ReadLine());
Console.WriteLine("Enter 2nd number that you want to add up?");
int valB = Int32.Parse(Console.ReadLine());
Console.ReadLine();
Console.WriteLine("Value1 + value2 =");
Console.WriteLine(valA + valB);
with the other i will be using the same but just change the + to - etc..
thank you..
DMXXMD
*Always use code tags
This post has been edited by PsychoCoder: 01 November 2007 - 01:07 AM

Start a new topic
Add Reply




MultiQuote


| 


