Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C# program that will accept multiple values from user and let them know if its in acceptable range of 0 to 100. Requirements 1-create a

C# program that will accept multiple values from user and let them know if its in acceptable range of 0 to 100.

Requirements

1-create a method that will display the instructions and information about the program.

2-create a method that displays the prompt as to whether you wish to enter another value

3-create a method that requests the input from the user

I think I have a start with the format that follows - any advice would be appriciated.

______________________________________________________________________________

using System; using static System.Console; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;

namespace Chapter6Homework1 { class Ch6Program1 { static void Main(string[] args) { int value;

DisplayInstructions()

}

//Display Instructions public static void DisplayInstructions() { WriteLine("***** ***** ***** ***** ***** *****"); WriteLine(" This application lets you enter as many values as you want."); WriteLine(" It will then test the values you entered to see if they are within the acceptable range of 0 to 100"); }

//Input From User public static getInput() { //accept input from user }

//Enter another value question public static getMultiInput() { //a loop to ask if the user would like to enter more values WriteLine(" Would you like to enter another value?"); ReadLine();

//I think a bool needs to be entered in this area to end input and display results

/*Output reads as follows: * * Results * Number of Valid values entered during testing: *****show number of values entered* * Number of Invalid values entered: ******show number of invalid values entered for testing* * Values outside of range: *******show number outside range* * Non-Numeric values entered: *******show number of non-numeric vaues entered* * */ } } }

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

6. What is process reengineering? Why is it relevant to training?

Answered: 1 week ago