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

22nd May 2020, 6:33 PM
Nawaf Almalfi
Nawaf Almalfi - avatar
1 Réponse
+ 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("T
quot;) || input.Contains("$T") ? "ALARM" : "quiet"; Console.WriteLine(output); } } }
30th May 2020, 3:37 AM
ÃKR
ÃKR - avatar