Write a class that implements a square shape


Write a class that implements a Square shape. Class Square should contain a Side property for accessing Private data. Provide a constructor that takes a Side length as a value. Also provide the following methods:

a) Perimeter returns 4 x Side.
b) Area returns Side X Side.
c) Diagonal returns the square root of the
expression 2 X Side(square).

Test your new Square class in a module.

1. Be sure to use appropriate names for this project for the following project components:

What To
Console Application ????_XX
Where XX are your first initial
last initial,
Where ???? is an appropriate name
for the project.

Module File name(s), if any Give an Appropriate name(s)
for the Module file(s), if
any.

Module name(s) in the code, 
if any Give an Appropriate name(s)
for the Module(s), if any.

Class File name(s), if any Give an Appropriate name(s)
for the Class file name(s), 
if any.

Class name(s) in code, if any Give an Appropriate name(s)
for the Class, if any.

Solution Name Give Same name as your Console Application)

2. Include documentation within each of your code files using VB comments as follows:
File name: ........................... .vb
Programmer Name: ...Tim Jenkins.................
Class: IS 207
Lab No: ......3..........
Brief Description of Code in this File: ...........................

3. When saving all your files, use Solution Name: (same name as your Console Application. 

Request for Solution File

Ask an Expert for Answer!!
Visual Basic Programming: Write a class that implements a square shape
Reference No:- TGS0132324

Expected delivery within 24 Hours