using System;
namespace ConsoleApplication1
{
class MyFisrtEasyProgramInCshape
{
public static void Main(string[] args)
{
Console.WriteLine("Chuong trinh tinh toan");
Console.WriteLine("****************************************************************");
int a, b;
double s;
Console.WriteLine("a=");
a = int.Parse(Console.ReadLine());
Console.WriteLine("b=");
b = int.Parse(Console.ReadLine());
// Tong
s = a + b;
Console.WriteLine("Tong={0}",s);
// Hieu
s = a - b;
Console.WriteLine("Hieu={0}", s);
// Tich
s = a * b;
Console.WriteLine("Tich={0}", s);
// Thuong
s = (double)a / b;
Console.WriteLine("Thuong={0}",s);
Console.ReadKey();
}
}
}
Giả như người dùng nhập vào là 5a hay 6b thì mình phải xử lí làm sao đây ạ?

83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?