10-05-2011, 03:00 PM
What Can You Code:
PHP
C#
HTML
I'm primitive at C# and PHP
Favorite Coding Language:
PHP or C#
Will You Give Support To Fellow Coders:
Yes, of course
How Many Hours Per Week Can You Be On:
20 Hours
Age:
14
Proof Of Your Coding Abilities:
Developing my C# calculator.. I have this so far, I'm trying to work around the if & else statements.
PHP
C#
HTML
I'm primitive at C# and PHP
Favorite Coding Language:
PHP or C#
Will You Give Support To Fellow Coders:
Yes, of course
How Many Hours Per Week Can You Be On:
20 Hours
Age:
14
Proof Of Your Coding Abilities:
Developing my C# calculator.. I have this so far, I'm trying to work around the if & else statements.
PHP Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
//Made By ChromeWolf <3
int number1;
int number2;
string test;
int answer;
Console.WriteLine("Type the first number");
number1 = int.Parse(Console.ReadLine());
Console.WriteLine("Type the second number");
number2 = int.Parse(Console.ReadLine());
Console.WriteLine("Put in the operation you want");
Console.WriteLine("Testing");
test = (Console.ReadLine());
if (test == '+') { answer = number1 + number2; };
Console.WriteLine("Press any key to find your answer");
Console.ReadLine();
Console.WriteLine(answer);
Console.ReadKey();
}
}
}