if((exp1) && (exp2)) cout<<“HELLO”, Bothexpressions need to be true to display Hello.
True or False?
There is a logical error in: if (number>max) max=number, elsemin=number
True or False?
When there are multiple choices as in a menu, the switchstatement is a better alternative to if.
True or False?
if (gp <= 0) cout<<“ERROR”<<endl, else {cout<<gp<<endl,} will only display the positive grosspay.
True or False?
Declaring the variable status as char allows you to comparestatus with values such as ‘m’, ‘M’, or ‘2’.
True or False?
if (gp > 500 ) taxrate=0.20, else taxrate=0.05, will set adifferent taxrate depending on gp.
True or False?
One way to make a decision in a program
PayPal Gateway not configured
PayPal Gateway not configured