Closed AbtaheeAli closed 4 years ago
namespace Solution { public static class SpacesRemover { public static string NoSpace(string input) { return input.Replace(" ", ""); } } }
Gist kept timing out on me. No idea why
namespace Solution { public static class Program { public static string repeatStr(int n, string s) { var str = ""; for (int index = 0; index < n; index++) { str += s; } return str; } } }
public static class Kata { public static string Greet(string language) { switch (language.ToLower()) { case "english": return "Welcome"; case "czech": return "Vitejte"; case "danish": return "Velkomst"; case "dutch": return "Welkom"; case "estonian": return "Tere tulemast"; case "finnish": return "Tervetuloa"; case "flemish": return "Welgekomen"; case "french": return "Bienvenue"; case "german": return "Willkommen"; case "irish": return "Failte"; case "italian": return "Benvenuto"; case "latvian": return "Gaidits"; case "lithuanian": return "Laukiamas"; case "polish": return "Witamy"; case "spanish": return "Bienvenido"; case "swedish": return "Valkommen"; case "welsh": return "Croeso"; default: return "Welcome"; } } }
definitely took the long route for this one but it works!
Your homework 06 - 04 - Roshambo! was marked: Meets Expectations
“Well done!”
Create a Roshambo (Rock-Paper-Scissors) game.
Objectives
Background
See the Wikipedia page about Rock, Paper, Scissors
How to get started
Explorer Mode
Part 1
Part 2
Part 3
Adventure Mode