0
Y these switch is not working
If stamen is working but not swich
8 Answers
+ 9
insert code here please.
+ 9
hahaahha language! hahaha! come on, edit that out please
I know various languages, enough that I can wing it :))
+ 9
remove the swear and I might try
+ 8
First thing I see is in your case you have name==
try just having
case "Mani":
name=="string" will result in a boolean value being returned
+ 1
Do u know swift dude
0
import Foundation
let name = readLine()
var name1 = String(name!)
if (name1=="kalam"){
print("kalam")}
else{
print("f***")}
switch name1
{
case name1=="kalam":
print("kalam")
case (name1=="mani"):
print("mani")
default:
print ("lara")
}
0
solve it
0
solve it send me back the code