visual studio 2012 - windows form that Calculate area and perimeter using C# -


i trying create program calculate area , perimeter of square using c# using forum app having hard time starting program have form made need code part of it. can help?

this how calculate area of square

using system;  namespace myapp {  class program {     static void main(string[] args)     {         double dlength;         double darea;         console.writeline("enter length of side of square :");         dlength = convert.todouble(console.readline());         darea = dlength * dlength;         console.writeline("the area of square is: " + darea);         console.readline();     }      } } 

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -