0
Guys why it is print "No output"
If you want understand,put AB,im trying do a code that Cipher an word Here https://code.sololearn.com/c3EAcKwc61fh/?ref=app
4 Answers
+ 3
You check only for "A" actually. If you type "AB" isnt equal to "A" so it doesn't print anything
This may help you make a cipher
https://code.sololearn.com/cp8v9Oyj1T2o/?ref=app
+ 1
Cat Cute đ
If x == "A" then how x would be equal to "B" ?
0
Check this.
If(x==âBâ) is inside another if. If x is A it will never be B.
you can add it to do something when it is NOT A or B.
and remember that âaâ is not the same as âAâ
0
if ("AB" == "A"){ // false
Console.Write("@");
}
if ("AB" == "B"){ // false
Console.Write(";");
}
Console.Write("đ¤");