r/codehs • u/Killer_frost_1 • Oct 16 '23
6.4.8 Rocket Launch Requirements
I'm confused. Anyone have any ideas?
4
Upvotes
r/codehs • u/Killer_frost_1 • Oct 16 '23
I'm confused. Anyone have any ideas?
View all comments
Show parent comment
2
u/tammiramsey Oct 18 '23
I actually teach this content too, and this is one of the more challenging problems. If you load the assignment, you should have seen two comments, the first is asking you to gather data from your user. You'll need four variables total, asking about each of the conditions. Two are readInt, and two are readBoolean. The next comment you see says something like 'determine if you can launch' - this is where you will need to figure out how to set all of the variables from step 1 into a Boolean that either results in a 'yes, you can launch' or 'you need to delay the launch due to weather conditions'. Once you post some code, I might be able to give you a few more pointers. But honestly, I encourage you to ask your teacher once you've gotten something down - it helps us understand you thinking and gauge where you're at!