0
Errors are their in r please help me
print("generating a numbers by Khushi from 1 to 100 range ") for (i in 1:100) if(i%3==0) { print (the number is divisible by 3) } else if(i%3&i%5==0) { print("the number is divisible by both 3 and 5") } else (i %5==0) { print ("the number is divisible by 5") }
2 Answers
+ 1
Same question
https://www.sololearn.com/Discuss/3082777/?ref=app
0
Hints : 3 and 5 first
Then 3
Then 5