Question: Instructions uctions Auction.cs lil 4 1 using static System.Console; 2 public class Auction 3 { static void Main() 5 { 6 // Write your main

Instructions uctions Auction.cs lil 4 1 using static System.Console; 2 public class Auction 3 { static void Main() 5 { 6 // Write your main here 7 } Create a program named Auction that allows a user to enter an amount bid on an online auction item. Include three overloaded methods that accept an int, double, or string bid. Each method should display the bid and indicate whether it is over the minimum acceptable bid of $10. 8 If the bid is greater than or equal to $10, display Bid accepted. 9 10 If the bid is less than $10, display Bid not high enough. 11 If the bid is a string, accept it only if one of the following is true: 12 13 14 public static void AcceptBid(int bid, int min) { } public static void AcceptBid(double bid, int min) { } public static void AcceptBid(string bid, int min) { } 15 It is numeric and preceded with a dollar sign. It is numeric and followed by the word dollars. 16 17 18 19} 20 Otherwise, display a message that says Bid was not in correct format. Grading When you have completed your program, click the Submit button to record your score
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
