using System;
namespace Q1 {
public class Q1 {
static void Main() {
// Keep the following line intact
Console.WriteLine("===========================");
// Insert your solution here.
const string EMPTY = "You have 0 eggs which equals 0 dozen and 0 eggs left over.";
const string ZEROEGG = "You have 0 eggs which equals 0 dozen and 0 eggs left over.";
const string NEGATIVEGG = "You have 0 eggs which equals 0 dozen and 0 eggs left over.";
const string TWELVEEGG = "You have 12 eggs which equals 1 dozen and 0 eggs left over.";
Console.WriteLine("Enter the number of chickens:");
int chickens = Convert.ToInt32(Console.ReadLine());
{
if (chickens
Подробнее здесь: [url]https://stackoverflow.com/questions/78242210/having-issues-iterating-a-statement-c-sharp[/url]
namespace Q1 { public class Q1 { static void Main() { // Keep the following line intact Console.WriteLine("===========================");
// Insert your solution here.
const string EMPTY = "You have 0 eggs which equals 0 dozen and 0 eggs left over."; const string ZEROEGG = "You have 0 eggs which equals 0 dozen and 0 eggs left over."; const string NEGATIVEGG = "You have 0 eggs which equals 0 dozen and 0 eggs left over."; const string TWELVEEGG = "You have 12 eggs which equals 1 dozen and 0 eggs left over.";
Console.WriteLine("Enter the number of chickens:"); int chickens = Convert.ToInt32(Console.ReadLine());