#Take2
Language used : Ruby
(1..100). each do |i|
val = ""
if(i%3==0)
val = "Steem"
end
if(i%5==0)
val +="It"
end
if (val == "")
val = i
end
p val
end
00. LPTHW (Appendix A) : Command Line Crash Course with Programming Challenge at the end, rewarding 25SBD for best solution.
#Take2
Language used : Ruby
(1..100). each do |i|
val = ""
if(i%3==0)
val = "Steem"
end
if(i%5==0)
val +="It"
end
if (val == "")
val = i
end
p val
end
Great going Elishagautam! Please do mention the language you've used and format it if possible.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit