Spades
✅ Spent almost an hour trying to independently get this right and it’s not clicking for me.
using System;
public class Program
{
public static void Main(string[] args)
{
int i = 0;
Console.WriteLine ("Enter Floors: ");
int floors = Convert.ToInt32(Console.ReadLine());
while(i < floors) { Console.WriteLine ("You are now in "+ floors +" floors"); break; i++; } } }
while(i < floors) { Console.WriteLine ("You are now in "+ floors +" floors"); break; i++; } } }
192 replies