Create a c-sharp console application project

Assignment Help Computer Engineering
Reference no: EM132177403

ONLY VISUAL STUDIO C# CONSOLE APPLIACTION

(NO JAVA CODING)

In this part of the assignment, you are required to create a C# Console Application project. The project name should be A3<FirstName><LastName>P1. For example a student with first name John and Last name Smith would name the project A3JohnSmithP1.

You are creating a console based math program. This program will be shown as a menu with several options. The menu should be created with a do loop.

The first option is to display a list of even numbers beginning at 0. Once this option is selected, the program asks the user for the number of even numbers to display. After the user provides this input, all the values should be displayed at once. This option should be created using a "for" loop.

The second option is to display a sequence of perfect squares. The program should begin by printing the square of 1, and ask the user if they to continue or stop and return to the original menu. If the user does not want to quit, the next square is printed. This continues until the user wishes to end the sequence. This option should be created using a while loop.

The third option is to exit the program. Any invalid option entered by the user should prompt the menu to reappear and ask the same three options.

Any numeric entry by the user should not crash if the user enters a string.

Your program must:

a. Use the appropriate loop for each segment.

b. Encapsulate the logic of options 1 and 2 each within their own method.

c. The functionality of the menu is correct as described.

d. Proper error handling.

e. Adhere to coding standards as described by the course. Marks will be taken off wherever coding standards are not followed.

Reference no: EM132177403

Questions Cloud

Describe what a hypervisor does : Virtual machines are very common these days. Describe some of the advantages of using virtual over physical machines.
Create a project called powercontrols : Find and icon: search the internet or your hard drive for ico files and use one. Add it your My Project folder. Set the form icon property to your icon.
What is the corresponding amount of profits : If the firm wishes to maximize profits how much Q should it produce and what is the corresponding amount of profits
Calculate the number of employees : The question asks to calculate the number of employees? and How to allocate them between industries?
Create a c-sharp console application project : The third option is to exit the program. Any invalid option entered by the user should prompt the menu to reappear and ask the same three options.
Money supply on the economy : Show the impact of a reduction in the money supply on the economy. You may assume that the economy begins in long-run equilibrium
Burgeoning federal debt and deficits : Is such an amendment an appropriate solution to the issues of burgeoning federal debt and deficits? Please explain.
What is the fastest cycle time : Assume that the subarrays are 256 kb and square. How many bits are in a bank? Assume that a subarray is 256 kb.
Unemployment and inflation rate : How do you think this will affect unemployment and inflation rate?

Reviews

Write a Review

Computer Engineering Questions & Answers

  How long would i take to iill the frame buffer

How long would I take to iill the frame buffer oi a 300-dpi (dot per inch) laser printer with a page sire oi 8 112 Inches by 11 inches?

  Load the file into the parallel arrays

Load the file into the parallel arrays and show the list of customers` names and phone numbers in the alphabetical order.

  Chomsky normal form

Requesting assistance with the Theory of Computing.Construct a PDA that accepts L.

  Create an initial researched and cited discussion response

Create an initial researched and cited discussion response early in the week about the topic you choose and follow with at least two researched.

  Write a function that will perform a random walk of n steps

Using Python, consider you are standing at a street corner, in a city where the streets are laid out in a very regular grid pattern.

  How many leaves are required to hold all the data records

Suppose we have a B-Tree that holds keys and leaves. There are 100 million data records (N), and they are stored in the leaves (lowest level) of the B-Tree.

  What will do to get deadline to receive a passing grade

What will do to get deadline to receive a passing grade? You have to complete and submit course project previous to the deadline to receive a passing grade for this course.

  How to designed to implement the date in a program

The class Date was built to implement the date in a program, but the method setDate and the constructor with parameters do not check whether the date is valid before storing the date in the data members.

  Why would the relationships be identifying or nonidentifying

Draw the relationships that follow. Would the relationships be identifying or nonidentifying? Why? A patient must be assigned to only one doctor, and a doctor can have many patients.

  Define an enumeration type

Write a function, triangleShape, that takes as parameters three numbers, each of which represents the length of a side of the triangle.

  With rup architectural issues are of primary importance in

When testing at the end of an iteration shows the existence of breakage, this is a sign that the project is out of control.

  Questionconsider following statements-double num1 num2

questionconsider following statements-double num1 num2 num3int int1 int2 int3double valuenum1 5.0 num2 6.0 num3

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd