Help! I don't know how to start on this! (Ruby language)


Hello readers!

I am a beginner ruby coder having trouble on solving this question as I don’t know how to even start!

Here is the question:

I hope someone can help me. Thank you for reading!


well, the whole flow diagram indicate we can use if/else for all the options, given the assignments says the input will be valid

so in pseudo code you would get:

if male:
  if older then 40:

else: (assume female)

and this we can do for all the conditions

further more we need gets.chomp to get user input


Thanks for the framework! I’ll give it a try!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.