Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please no Java imports or java...im working with C# Your application will demonstrate the ability to retrieve 10 numbers from a user and determine the

please no Java imports or java...im working with C#

Your application will demonstrate the ability to retrieve 10 numbers from a user and determine the smallest and largest number from the list. Incorporate the following requirements into your application:

  • The program will consist of one file - the main application class
    • Name the class appropriately and name the file Program.cs
    • Include documentation at the top of the file that includes
      • Your name
      • Date of development
      • Assignment (e.g., CIS214 Midterm Practical Exam)
      • Description of the class
  • The main application class must meet the following requirements
    • Print a line that states "Your Name - Midterm Practical Exam"
    • Get 10 integer values from the user and store them in an array or a List
    • Write method to determine the smallest element in the collection
    • Write method to determine the largest element in the collection
    • Display the following information for the collection
      • All the elements in the collection and the index of the element (displayed in columns as shown in the example below)
      • The smallest element in the collection
      • The largest element in the collection

Sample Output:

image
Your Name - Midterm Practical Please enter Please enter Please enter Please enter Please enter Please enter Please enter Please enter Please enter an Please enter an Values Entered: Index Value 16 198 186 5 185 6 186 75 123 q Smallest Value: integer integer integer integer integer integer integer integer integer integer q Largest Value: 198 value: value: value: value: value: value: value: value: value: value

Your Name Midterm Practical Exam Please enter an integer value: 10 Please enter an integer value: 190 Please enter an integer value: 100 Please enter an integer value: 5 Please enter an integer value: 105 Please enter an integer value: 6 Please enter an integer value: 106 Please enter an integer value: 75 Please enter an integer value: 123 Please enter an integer value: 9 Values Entered: Index Value 0 1 2 3 4 5 6 7 8 9 10 190 100 5 105 6 106 75 123 9 Smallest Value: 5 Largest Value: 190

Step by Step Solution

3.37 Rating (144 Votes )

There are 3 Steps involved in it

Step: 1

Certainly Below is an example of how you could create the C application that meets the requirements ... 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

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions

Question

What are some procedures used to assess bipolar 1 disorder

Answered: 1 week ago