+ 1

In ruby getting input form the user , the code ask the user to put all the input can someone help me

i want my program to take only one input excute some methoe on it puts it back then ask for another input for other thing like ask for user name say hi then ask for age then say your older then me by x years

6th Apr 2018, 6:19 PM
Kasdallah Yasser
Kasdallah Yasser - avatar
2 Respuestas
+ 23
U might not be able to do that here in sololearn code playground ... In Sololearn all inputs should be provided at once in the beginning... it can be done in JavaScript though :) xd
6th Apr 2018, 6:39 PM
🌛DT🌜
🌛DT🌜 - avatar
+ 1
ok thnak you alot
6th Apr 2018, 9:20 PM
Kasdallah Yasser
Kasdallah Yasser - avatar