0

I'm curious

When in high school (8years ago and did a litterature course so no math or technical stuff) we had calculator that could run algorithm you create. I managed back then to create a sort of programme that when you enter either 1 2 3 press enter, then press enter and again write 1 or 2 or 3 enter and again one time to enter 1 2 3 And based on which sequence you entered it showed random sentence like 3 3 2 would show " you" "smell like" " an old lady" meaning that each number were assigned a pronoun for the first input an action for the second input and a adjective/noun for the last input. I just began sololearn, I'd like to know if someone could write a short program for that inspired from the one I already made (which of course does not work) https://code.sololearn.com/c7YvmN2rH1OB/?ref=app

13th May 2019, 2:24 PM
stram
stram - avatar
8 odpowiedzi
13th May 2019, 3:43 PM
‎ ‏‏‎Anonymous Guy
+ 1
‎ ‏‏‎Sreejith  if you're not bothered then gladly but I'm sure I will get to it while following the app tutorial
13th May 2019, 3:54 PM
stram
stram - avatar
+ 1
Nice thanks a lot, it's more clear, the only problem is I'm french so I get the meaning roughly but it's a bit too technical. So I saved it, I'm going to continue learning while also checking it again often to see if it gets better. Practicing will make me understand all those precise and technical words that I'm not yet used to see. Thanks for the help and your time
13th May 2019, 4:29 PM
stram
stram - avatar
0
I have no idea if this is possible with C++, but if I'd make this in Java I'd use 2D or 3D arrays.
13th May 2019, 3:12 PM
Robbe Nooyens
Robbe Nooyens - avatar
0
‎ ‏‏‎Sreejith  yeah basically, the result you get at the end is what I want to see, for the content I guess I have to continue learning :D there are some instructions I'm not familiar with yet, the quotes,==, ect. but I'm here to progress Thanks a bunch
13th May 2019, 3:51 PM
stram
stram - avatar
0
stram If you want , I could add some comments to explain everything
13th May 2019, 3:52 PM
‎ ‏‏‎Anonymous Guy
0
It's done
13th May 2019, 4:06 PM
‎ ‏‏‎Anonymous Guy
0
Ok Feel free to mention me if you need some kind of help. Cheers:)
14th May 2019, 2:10 AM
‎ ‏‏‎Anonymous Guy