Answer to Question #257110 in HTML/JavaScript Web Application for ammar

Question #257110

Write a program that asks the user to enter a number between 1 and 100 in a form. If the

number is less than 10, display “That’s really small.” If it’s between 10 and 50, say “not too big.”

If it’s more than 50, display “That’s a big one!”


1
Expert's answer
2021-10-26T14:18:10-0400
display 'Enter a number between 1 and 100'
int n
if n < 10 then 
diplay 'That’s really small'
else if 10 <= n <= 50 then
display 'not too big'
else if n > 50 then
display 'That’s a big one!'

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS