Question: I could really use some help finishing this question I the code must be a GUI and I can only figure out how to do

I could really use some help finishing this question

I the code must be a GUI and I can only figure out how to do it as a console application

The code must be in C# and must be a basic as possible because I am a beginner.

---------------------------------------------------------------------------

Use GUI for input and output. It is all your design. (Find the Two Largest Number) The process of finding the maximum value (i.e., the largest of a group of values) is used frequently in computer applications. For example, an app that determines the winner of a sales contest would input the number of units sold by each salesperson. The salesperson who sells the most units wins the contest. Suggestion: first Write pseudocode, then a C# app that takes a user inputs: a series of 10 integers, then determines and displays the largest integer.

What I want it to look like

I could really use some help finishing this question I the code

textBox1 = textBox1

textBox2 = textBox2

textBox3 = textBox3

textBox4 = textBox4

textBox5 = textBox5

ect......

Button1 = Calculate

textbox11 = Result

Here is the code that I have so far. It is a console application and I need to turn this into a windows form. Please help

namespace EX2_Largest_Number { class Program { static void Main(string[] args) { int numbers = 0; // the place holder for numbers entered int LargestNumber = 0; // place holder for the largest number value int i = 0; // to implment the counter for(i = 0; i numbers; /umbers = Convert.ToInt32(Console.ReadLine());

if (i ==0) { LargestNumber = numbers;// if zero is the largesrt value } else { if (numbers > LargestNumber)// to find the largest number entered LargestNumber = numbers; } } // results Console.WriteLine("{0:N} was the largest number that you entered. PRESS ENTER TO RESTART", LargestNumber); Console.ReadLine(); Console.WriteLine("Press Enter to restart");

} } }

---------------------------------------

Thank you for your help!

Number Calculator Largest Number Calculator Please enter 10 numbers in the boxes below, and then click enter Calculate The Largest Number Entered was

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!