0
C# module 2: break and continue [Solved]
I have tried everything with this module, including the Hint Solution even though it makes no sense to me, and I still can't pass this dang thing. Help???
5 Respuestas
+ 1
Remove last curly brace
+ 1
Please attempt the code?
+ 1
Omg 🙄 thanks. I swear I tried that but whatever it worked.
0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SoloLearn
{
class Program
{
static void Main(string[] args)
{
int maxBid = Convert.ToInt32(Console.ReadLine());
int bid = int.Parse(Console.ReadLine());
while (bid < maxBid)
{
bid = int.Parse(Console.ReadLine());
}
Console.WriteLine("Sold: " + bid);
}
}
}
}
That's the Hint code
- 1
Hi