What will be the output of the following code?
class a1 {
func cn10
{
for var a = 9; a >=1; --a {
for var b = 9; b >= 0; --b{
if b%2==a/2 [
print((b%4),terminator: "“)
}
}
print("")
}}}
lets = a1()
s.cn1()
Correct Answer:
13131
13131
02020
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Swift MCQ Questions