Mar-13-2022, 01:13 PM
(This post was last modified: Mar-13-2022, 01:13 PM by Chrilo06.
Edit Reason: added some stuff for education purposes
)
Hi, I have this homework that I am currently having trouble at. How can I check multiple input of a user if everything is equal? and if it is not equal there should be an error message to be printed out. Here is the instruction: "However, if the user entered any number of arguments, other than overall 9 (the edges
and the height) - then, the error "Error!" should be printed instead. Also note
all 8 base edges should be equal with each other, and, not be equal to zero or a negative
number, otherwise, the error should be printed."
any enlightenment and code samples for this area would be so much appreciated and would help me further into my journey.
and the height) - then, the error "Error!" should be printed instead. Also note
all 8 base edges should be equal with each other, and, not be equal to zero or a negative
number, otherwise, the error should be printed."
any enlightenment and code samples for this area would be so much appreciated and would help me further into my journey.