Problems Writing this simple c++ prog :/ HELP!

Thank you!
Last edited on
warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses]
||   } else if(60 < sec < 3600) {
||             ~~~^~~~~
warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses]
||   } else if(3600 < sec < 86400) {
||             ~~~~~^~~~~
instead of a<b<c you need to write a<b and b<c
ne555 thank you so so so much!! I got it now (:
Topic archived. No new replies allowed.