Math with C#!

The Following page will teach you basic coding skills for math.

Adding and Subtracting

Start Up A Windows Console Program and Add in the following Code

After Starup It Should Give You The Awnser.

Adding

To to subtract add in the following code

Subtracting

Multiplying and Dividing

To Multiply use the following code

Multiplying

To Divide use The Following Code

Dividing

Concatenation

This is a way to put to strings togeather, and is not really a math problem.

Insert the following code

String strFName = "First name";

String strLName = "Last name";

Console.WriteLine(String.Concat(strFName, " ", strLName));

You now know math...on a computer!!

Click Me to go back to the main page!