Practice -1- • Write a code to find the area and parameter of a  square. • Requirements:  – User enter the side of the square (S) – Calculate the area=SxS – Calculate the perimeter=4XS – Display the area and perimeter – Datatype is int.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter8: Advanced Method Concepts
Section: Chapter Questions
Problem 8RQ
icon
Related questions
Question

Practice -1-
• Write a code to find the area and parameter of a 
square.
• Requirements: 
– User enter the side of the square (S)
– Calculate the area=SxS
– Calculate the perimeter=4XS
– Display the area and perimeter
– Datatype is int.

 

 

Practice -2-
• Write a code to ask the user to enter his first 
name initial and last name initial the display. 
Below is a sample output. 

Expert Solution
steps

Step by step

Solved in 5 steps with 2 images

Blurred answer
Knowledge Booster
Graphical User Interface
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,