שלום,
אני אני מכין לי קוד כדי להתאמן ב C#, בהתחלה המשתמש יצתרך לקבוע את ארח המשנה הראשון כאילו USERNAME ואחרי זה יצתרך לקבוע את המשתנה השני בשם PASS, אחרי זה אני רוצה שזה ידפיס wellcome ואז את המשתנה user ואז yourpassword is ואז את משתנה password,
ניסיתי ככה אבל לא פעל לי.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication3
{
class Program
{
static void Main(string[] args)
{
int user , password;
Console.WriteLine("enter username=");
user = int.Parse(Console.ReadLine());
Console.WriteLine("enter password=");
password = int.Parse(Console.ReadLine());
Console.WriteLine("wellcome" + user "your password is" (password))
Console.ReadLine();
}
}
}
מה הבעיה ?
בבקשה עזרה.




ציטוט ההודעה


