+ 1
How to make program to check temperature
If the temperature is between 36.1 and 36.9 print "ok" If not print "not ok"
4 odpowiedzi
+ 2
Please just tell me how to do it like formula
+ 7
Are you telling us you can't even do that simple thing?
Also mention the language name in tags
0
well, if i wanna make that program. i would use if statements. and also do it yourself.
0
Take the values into a double or float type variables. And learn about if-else block and use here. Also learn about relational operators.. All it takes a 15 mins maximum.
Edit : vaibhav
https://www.programiz.com/cpp-programming/relational-logical-operators