a guest May 19th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- sum = 0; i=0;
- for i in 1..999
- if (i%5==0 || i%3==0)
- sum += i
- puts "FINAL IS " + String(sum)
RAW Paste Data