For this assignment, you will use the Visual Studio Code (VS Code) IDE to compile and run a C# program; you can do this in the VCASTLE environment or on your own computer if you have VS Code installed and configured to do C# development. You will create the C# code based on the requirements provided below. Your application will demonstrate the use of Input, Output, and Operators. Incorporate the following requirements into your application: • The program will consist of one file - the main application class • Name the class appropriately and name the file Program.cs (the default when you create the application) • Include documentation at the top of the file that includes ▪ Your name ▪ Date of development ▪ Assignment (e.g., CIS214 Performance Assessment - 10 & Operators) ▪ Description of the class • The main application class must meet the following requirements • Print a line that states "Your Name - Week 1 PA IO & Operators" • Demonstrate integer-based operations ▪ Retrieve 2 integer values from the user ▪ Display the sum of those two values Display the comparison results of value 1 to value 2, including: ▪ Equality - whether the values are equal or not equal ▪ Size - whether value 1 is greater than or less than value 2 ▪ Size with equality - whether value 1 is greater than or equal to or less than or equal to value 2 0 I Demonstrate floating point-based operations ▪ Retrieve 2 floating point values from the user ▪ Display floating point values to 4-decimal point precision ▪ Display the sum of those two values Display the comparison results of value 1 to value 2, including: ▪ Equality - whether the values are equal or not equal ▪ Size - whether value 1 is greater than or less than value 2 Size with equality - whether value 1 is greater than or equal to or less than or equal toulun 3
For this assignment, you will use the Visual Studio Code (VS Code) IDE to compile and run a C# program; you can do this in the VCASTLE environment or on your own computer if you have VS Code installed and configured to do C# development. You will create the C# code based on the requirements provided below. Your application will demonstrate the use of Input, Output, and Operators. Incorporate the following requirements into your application: • The program will consist of one file - the main application class • Name the class appropriately and name the file Program.cs (the default when you create the application) • Include documentation at the top of the file that includes ▪ Your name ▪ Date of development ▪ Assignment (e.g., CIS214 Performance Assessment - 10 & Operators) ▪ Description of the class • The main application class must meet the following requirements • Print a line that states "Your Name - Week 1 PA IO & Operators" • Demonstrate integer-based operations ▪ Retrieve 2 integer values from the user ▪ Display the sum of those two values Display the comparison results of value 1 to value 2, including: ▪ Equality - whether the values are equal or not equal ▪ Size - whether value 1 is greater than or less than value 2 ▪ Size with equality - whether value 1 is greater than or equal to or less than or equal to value 2 0 I Demonstrate floating point-based operations ▪ Retrieve 2 floating point values from the user ▪ Display floating point values to 4-decimal point precision ▪ Display the sum of those two values Display the comparison results of value 1 to value 2, including: ▪ Equality - whether the values are equal or not equal ▪ Size - whether value 1 is greater than or less than value 2 Size with equality - whether value 1 is greater than or equal to or less than or equal toulun 3
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
100%

Transcribed Image Text:## Sample Output:
### Sample 1:
**Your Name – Week 1 PA IO & Operators**
- **Enter an integer value:** 6
- **Enter a second integer value:** 8
- The sum of 6 and 8 is 14.
- 6 is not equal to 8
- 6 is less than 8
- 6 is less than or equal to 8
- **Enter a floating point value:** 4.56
- **Enter a second floating point value:** 1.2345
- The sum of 4.5600 and 1.2345 is 5.7945.
- 4.5600 is not equal to 1.2345
- 4.5600 is greater than 1.2345
- 4.5600 is greater than or equal to 1.2345
### Sample 2:
**Your Name – Week 1 PA IO & Operators**
- **Enter an integer value:** 42
- **Enter a second integer value:** 42
- The sum of 42 and 42 is 84.
- 42 is equal to 42
- 42 is less than or equal to 42
- 42 is greater than or equal to 42
- **Enter a floating point value:** 1.23
- **Enter a second floating point value:** 1.23
- The sum of 1.2300 and 1.2300 is 2.4600.
- 1.2300 is equal to 1.2300
- 1.2300 is less than or equal to 1.2300
- 1.2300 is greater than or equal to 1.2300

Transcribed Image Text:For this assignment, you will use the Visual Studio Code (VS Code) IDE to compile and run a C# program; you can do this in the VCASTLE environment or on your own computer if you have VS Code installed and configured to do C# development. You will create the C# code based on the requirements provided below.
Your application will demonstrate the use of Input, Output, and Operators. Incorporate the following requirements into your application:
- The program will consist of one file - the main application class
- Name the class appropriately and name the file Program.cs (the default when you create the application)
- Include documentation at the top of the file that includes
- Your name
- Date of development
- Assignment (e.g., CIS214 Performance Assessment - IO & Operators)
- Description of the class
- The main application class must meet the following requirements:
- Print a line that states "Your Name - Week 1 PA IO & Operators"
- Demonstrate integer-based operations
- Retrieve 2 integer values from the user
- Display the sum of those two values
- Display the comparison results of value 1 to value 2, including:
- Equality - whether the values are equal or not equal
- Size - whether value 1 is greater than or less than value 2
- Size with equality - whether value 1 is greater than or equal to or less than or equal to value 2
- Demonstrate floating point-based operations
- Retrieve 2 floating point values from the user
- Display floating point values to 4-decimal point precision
- Display the sum of those two values
- Display the comparison results of value 1 to value 2, including:
- Equality - whether the values are equal or not equal
- Size - whether value 1 is greater than or less than value 2
- Size with equality - whether value 1 is greater than or equal to or less than or equal to value 2
Expert Solution

Step 1
The C# code is given below with code and output screenshot
Happy to help you ?
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 4 images

Knowledge Booster
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.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education