Slide 1 Basic Ruby Syntax sum 0 i 1 while i lt 10 do sum i i i i 1 end puts Sum of squares is sumn Newline is statement separator do end
Download Presentation The PPT/PDF document "CS 142 Lecture Notes: Ruby" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Copyright © 2024 DocSlides. All Rights Reserved