tgoop.com/beginprogrammer/456
Last Update:
إ₰ــــ👨🏻💻👩🏻💻ــــ₰❥
كود توضيحي لمفهوم ادخال البيانات وطباعتها………
using System;
namespace My_first_project
{
class program
{
static void main(string[] args)
{
Console.Title = "my first project ";
Console.WriteLine(" enter your name");
String name = Console.
ReadLine();
Console.WriteLine(" enter your Age");
// first way
int age =int.Parse(Console.ReadLine());
//secondway
//int age2=convert.ToInt32(console. ReadLine() ;
// Console. Write("hello mr : " +name) ;
Console.Write("hello mr : "
+ name + " your age " +age);
Console.ReadKey();
}
}
}
•┈┈┈•❈••✦✾✦••❈•┈┈┈•
•┈┈┈•❈••✦✾✦••❈•┈┈┈•
المخـ₰💻₰❥ـرجات
enter your name
Hamza
enter your Age
20
hello mr : Hamza your age 20
BY بدايه مبرمج
Share with your friend now:
tgoop.com/beginprogrammer/456