Going once, Going twice, Sold.
ive been trying to complete this task for a couple of days now, but its stumping me. i feel like the app hasn't given me quite enough information to fill in those last few blanks, and i could use the communities help please. the task states: we are making a program for auction with a maximum bid set. The count of bid is variable. Write a program to take the maximum bid as input, then take all bids from auction participants until the maximum bid is exceeded. The program should output the corresponding message with the winning bid sample input 1600 800 1300 1700 sample output sold 1700 explanation The first input represents the maximum bid, followed by the bids offered by all participants. the last participant suggested a bid (1700) which is above the minimum bid (1600) and won the auction. thus that bid is output. hint in order to make continuous input acceptance you need to use the while (true) condition. for example, this part of the code takes inputs infinitely. while (true) { string smth = console.ReadLine (); } use an if statement inside the loop to execute the brake condition. my current effort looks like this (though this is just one of a bunch of different ways ive tried to arrange it with no success so far) namespace sololearnpractise { class Program { static void Main(string[] args) { int maxBid = Convert.ToInt32(Console.ReadLine()); while (maxBid <1600) { string smth = Console.ReadLine(); if (maxBid >= 1600) break; Console.WriteLine ("Sold: " + maxBid); } } } }