Jump to content

User input/Graphical: Difference between revisions

m
→‎{{header|Ruby}}: add Shoes version
m (→‎{{header|C++}}: cpp tag (C++ does not work))
m (→‎{{header|Ruby}}: add Shoes version)
Line 934:
 
main</lang>
 
{{libheader|Shoes}}
<lang ruby>Shoes.app do
string = ask('Enter a string:')
begin
number = ask('Enter the number 75000:')
end while number.to_i != 75000
para %Q{you entered the string "#{string}" and the number #{number}}
end</lang>
 
=={{header|Scratch}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.