Permalink
Browse files

problema 2

  • Loading branch information...
1 parent cf66cec commit 02273535a76bbc4222b9adb53fb7e5bce9fd1502 @duvan duvan committed Feb 7, 2012
Showing with 11 additions and 0 deletions.
  1. 0 problema 2/README.markdown
  2. 0 problema 2/README.markdown~
  3. +11 −0 problema 2/problema2.rb
View
0 problema 2/README.markdown 100644 → 100755
No changes.
View
0 problema 2/README.markdown~ 100644 → 100755
No changes.
@@ -0,0 +1,11 @@
+@a = 1
+while @a.eql? 1 do
+ puts "escribi pues"
+ c = gets
+ b = c.to_f / 1700.to_f
+ puts b.to_f
+ puts "para continuar 1, si no 0 "
+ @a = gets.to_i
+
+
+end

0 comments on commit 0227353

Please sign in to comment.