Question
Getting accustomed to C# and Visual Studio 2019 by writing a simple C# application. Create a new .NET Framework 4.8 or .NET 5 Console project
Getting accustomed to C# and Visual Studio 2019 by writing a simple C# application. Create a new .NET Framework 4.8 or .NET 5 Console project named COMP3602Assign01. You may place all code in Main or you may write separate methods and classes as you see fit. Write a program to calculate the squares and cubes of the even numbers from 0 to 20 and print the resulting values in table format, as shown below. (Note alignment and formatting) Calculate and display the sum of each column. (Note alignment and formatting) For full marks, make your output look exactly like the sample below This application does not require any input from the user.
For all your code, be sure to: 1. Use ample spacing. 2. Comment intelligently (there is no need to comment the obvious). 3. Solve the problem as simply and efficiently as you can. 4. Use standards and conventions.
[i4.COMP3602-Assign01-A00123456number02468101214161820110square041636641001441962563244001,540cube08642165121,0001,7282,7444,0965,8328,00024,200
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started