Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Introduction After a brief lull, its time to create yet another Mathinator! This lab assignment isnt particularly difficult, but provides a good opportunity to develop

Introduction

After a brief lull, its time to create yet another Mathinator!

This lab assignment isnt particularly difficult, but provides a good opportunity to develop an algorithm using the control structures were studying in Chapters 5 and 6. Youll also get a chance to further develop your pseudocoding skills.

Assignment & Discussion

Your task in Lab 6 is to prompt for and get five (5) integers from a user. Once you have the five integers, you are to sum the numbers, calculate the average and write both sum and average back out to the user. But thats not all! You should also tell the user what the largest and smallest numbers entered were.

Develop your algorithm using pseudocode and then implement your algorithm in a C# application. Spoiler Alert you have to turn your pseudocode in! See Chapter 5 if you have lingering questions on pseudocoding. Resist the temptation to reverse engineer your pseudocode!

I recommend you think carefully about the selection and repetition structures were studied in chapters 5 and 6 and how you can use them to solve this programming challenge. Also consider how you can nest these structures to develop your algorithm.

Requirements

Pseudocode

Develop your pseudocode in MS Word using Calibri 11 and Normal spacing.

Include your name, section (ex. CSCI 1301A) and submission date at the top of your pseudocode file.

Your pseudocode file should be named using the following convention: LastName_Programming_Assignment_6

Ensure your name, section (CSCI 1301CD) and date are at the top of your pseudocode.

Follow Chapter 5 and lecture guidance for pseudocode.

Include, at a minimum, one selection and one iteration structure in your algorithm.

Application

Your C# application shall be implemented in one file.

Your file and class should be named MyMathinatorPlus. There will be a 5% penalty for not naming your file correctly.

Your namespace should be Programming_Assignment_6.

Implement, at a minimum, one selection and one iteration structure in your application.

Submission

Submit your application zip file and your pseudocode MS Word file on D2L. Submit the files separately; i.e. do not put your Word file inside your Visual Studio project folder.

Ensure the entire application solution/project folder is included.

Note: Ensure you retain complete copies of your application folder and its zip file!

Due Date: NLT 11:59 PM Monday, November 6, 2017.

Late Penalty: 10% penalty for assignments submitted late by less than 24 hours; 20% penalty for 24 to 48 hours late; submissions greater than 48 hours late will not be accepted and will result in a grade of zero (0). Submissions that are incomplete; i.e. .sln file only, .cs file only will be considered late and will be penalized according to the above criteria. Ensure your submission is complete!

Style Guide

File header. All .cs source code files should have a header that follows the below format.

//****************************************************************************

//****************************************************************************

//

// Your Name Here

// CSCI 1301CD

// Programming Assignment 6

// Submission Date Here

//

// File: MyMathinatorPlus.cs

//

//***************************************************************************

//***************************************************************************

Screen Shot

Heres a look at what a working Math-inator can look like!

image text in transcribed

C\WINDOWS system32\cmd.exe Welcome to Math-inator Simply enter 5 integers and we' 1l do the rest In return you'll receive the sum of the integers, and... the smallest and largest integer entered. and... the average of the integers! Enter a number: 75 Enter a number: 97 Enter a number 21 Enter a number: 36 Enter a number 49 Thanks for the numbers Let's see what we have. . . The sum of your numbers is: 278 The smallest integer entered is 21 The largest integer entered is: 97 The average of the numbers entered is: 55.6 Press any key to continue _

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application And Administration

Authors: Michael Mannino, Michael V. Mannino

2nd Edition

0072880678, 9780072880670

More Books

Students also viewed these Databases questions

Question

3. Job rotation is used for all levels and types of employees.

Answered: 1 week ago