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

  Write a function do graphics that will take a list as input

Write a function do Graphics that will take a list as input. The function do Graphics will start by creating a canvas from the 640x480.jpg file in media.

  Recreate the new york city skyline with turtle graphics

As discussed in class I will give you guys extra credit for recreating the Broadway Boogie Woogie by Piet Mondrian using turtle graphics.

  A system that calculates and returns the mean and a method

A system that calculates and returns the mean and a method

  Explain demand paging and various page replacement policies

Differentiate between deadlock prevention and avoidance algorithm and Discuss various techniques for structuring the page table along with example

  Discuss the social media features in software

Recommend ways to use social media in stakeholder management. This can include social media features in software such as chatter in salesforce.

  Introduce relationship sets or additional entity sets

Introduce relationship sets or additional entity sets

  Write a set of unit tests for the sample application

COMP426/526 - 16A ASSIGNMENT. Using JUnit write a set of unit tests for the sample application you created for assignment one. If you have a large amount of functionality you may limit your tests to 30

  Convert decimal 9126 to both bcd and ascii codes

Convert decimal 9126 to both BCD and ASCII codes. - For ASCII, add an extra bit to the left so that the total number of ones in the binary representation of each character is odd.

  Creating a target audience profile and needs assessment

In this assignment, you will begin to create your own formal website plan by defining the website's goals and objectives, writing a formal purpose statement.

  A program to define function has 2 float parameters

This should be program defined function and has 2 float parameters when excites prints the 2 parameters then return to the larger value.

  How is an array stored in main memory

How is an array stored in main memory? How is a linked list stored in main memory? What are their comparative advantages and disadvantages?

  Example that utilizes some form of recursion

Java / XML example that utilizes some form of recursion. Include blocks of code and the XML with your example

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