Quantcast
Channel: Web development / Programming
Viewing all articles
Browse latest Browse all 52

Post the code written by you thread. :D

$
0
0
After i learn C# for two weeks here is my first try.:lol:
What it do is: it ask 1+2=?
if you answer 3 it gives "Congrategulation you are right"
if not it ask you to continue:Y or N
if press Y it return to 1+2=? again
if you press other later than Y and N it return to Y or N.
:)


Code:
char b;
            int a;
            begin:
            Console.WriteLine("1+2=?");
            a=Int32.Parse(Console.ReadLine());
            switch (a)
            {case 3...
Post the code written by you thread. :D

Viewing all articles
Browse latest Browse all 52

Trending Articles