دانلود سورس کد پروژه محاسبه محیط دایره در سی شارپ c#.net
سلام بر همه برنامه نویسان سی شارپ 😉 در این پست از سایت سورس پروگرم 98 ، سورس کد پروژه محاسبه محیط دایره در سی شارپ c# رو برای شما قرار داده ام.
- عنوان پروژه : مُحاسبه ی محیط دایِره
- id سورس کد :41648676
- زمان انتشار پست : فروردین ۷، ۱۳۹۶ ۱۴:۱۸
تعدادی از فایلهای درون فایل فشرده پروژه:
- Area of the Circle Version 1.0.pdb
- area.pdb
- Area of the Circle Version 1.0.pdb
- Area of the Circle Version 1.0.pdb
- area.pdb
- WindowsApplication1.Form1.resources
- WindowsApplication1.Properties.Resources.resources
- Area of the Circle Version 1.0.pdb
- WindowsApplication1.Form1.resources
- WindowsApplication1.Properties.Resources.resources
- area.csproj.FileListAbsolute.txt
- AssemblyInfo.cs
- Resources.Designer.cs
- Resources.resx
- Settings.Designer.cs
- area.csproj
- area.suo
- Program.cs
- area.cs
- area.Designer.cs
- area.resx
- area.sln
- area.suo
فولدرها:
- area
- area
- bin
- Debug
- Release
- obj
- Debug
- TempPE
- Release
- TempPE
- Properties
طرز کار برنامه به این صورته که شما شعاع (radius) دایره رو وارد می کنید و بعد با زدن دکمه Solve ، محیط دایره رو براتون محاسبه میکنه و بهتون نمایش می ده. به همین سادگی !!!
عکس برنامه :
همچنین میتوانید از کد زیر هم استفاده نمائید:
using System;
using System.Collections.Generic;
using System.Text;
namespace ForgetCode
{
class Program
{
static void Main(string[] args)
{
int r;
double A;
Console.WriteLine("Enter the radius:");
r = Convert.ToInt32(Console.ReadLine());
A = (3.14) * r * r;
Console.WriteLine("The Area of circle of given radius is=" + A);
Console.ReadLine();
}
}
}
using System.Collections.Generic;
using System.Text;
namespace ForgetCode
{
class Program
{
static void Main(string[] args)
{
int r;
double A;
Console.WriteLine("Enter the radius:");
r = Convert.ToInt32(Console.ReadLine());
A = (3.14) * r * r;
Console.WriteLine("The Area of circle of given radius is=" + A);
Console.ReadLine();
}
}
}