using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace yeah
{
class Program
{
static void Main(string[] args)
{
string name;
System.Console.WriteLine("What is your name:");
name = System.Console.ReadLine();
System.Console.WriteLine("the name is " + name + "!!!!!!");
System.Console.Read();
System.Console.Clear();
System.Console.WriteLine("wait there's more! ");
System.Console.Read();
System.Console.WriteLine("Simple Test ");
System.Console.Read();
System.Console.Clear();
int a = 0;
int b = 0;
int c = 0;
System.Console.WriteLine("Give me your first input: ");
a = System.Convert.ToInt32(Console.ReadLine());
System.Console.WriteLine("Give me your Second input: ");
b = System.Convert.ToInt32(Console.ReadLine());
c = System.Convert.ToInt32(Console.ReadLine());
c = a + b;
System.Console.WriteLine("ang sagot sa " + a + "at saka sa " + b + "ay...." + c + "!!");
System.Console.Read();
{
}
}
}
}
I dont know why I cant enter number. :( Im sorry Im too beginner for C#.
glyvery.happy 0 Newbie Poster
Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.