Input Output
Less than 10 “Too Cold”
10-20 “Average”
21-30 “Hot”
Bigger than 30 “Too Hot”

(i) If the user enter 2,
(ii) If the user enter 10
(iii) If the user enter 23,
(iv) If the user enter 70,


can anybody help me.........

thanks......

Nick Evan commented: No-one can help you. -6

Read input from user.
Write if else statements to check what was given and print the appropriate message.
Search this forum for example on reading input with the java.util.Scanner class.
Check the API of the java.util.Scanner class

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.