0
Why is My c sharp Program in the security task not working?
If you see My code im pretty sure you wouldnt be able to understand but the Program is working fine except in the case 3... Can some one Help me in My code and discover My mistake? Thanks you.. https://code.sololearn.com/ckm94MvKDSs6/?ref=app
1 Odpowiedź
+ 5
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)
{
string input = Console.ReadLine().Replace("x","");
string output = input.Contains("Tquot;) || input.Contains("$T") ? "ALARM" : "quiet";
Console.WriteLine(output);
}
}
}