I recently wrote a program will print out the spelling of numbers between 0-25 when inputted, now I need to figure out how to get the program to print out the statement "out of range" when a number is entered outside of that range. I tried using the if else statement, but I kept getting an error message. This is what I have so far:
Also, we prefer if you don't just hand out the solution. Many of the questions here are homework assignments, and giving someone the solution doesn't help them learn. Even worse, if they submit your solution as their own, or if it even LOOKS like they handed in your solution, many schools would consider that a breach of ethics (plagiarism/cheating) and the student could be disciplined and potentially expelled.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors