C++ if statement/xcode [closed]

if (surfaceArea > 750)       //adding 50 dollars to cost if product is 
//over 750 sq. inches

{
 totalCost t+=50;
}

make a comment line // .
Hope you understood.

To write a multi line comment use /* …. */

Browse More Popular Posts

Leave a Comment