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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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