1>c:\documents and settings\administrator\my documents\visual studio 2005\projects\hw3\hw3\hw3.cpp(46) : error C2143: syntax error : missing ';' before '.'
1>c:\documents and settings\administrator\my documents\visual studio 2005\projects\hw3\hw3\hw3.cpp(50) : error C2143: syntax error : missing ';' before '.'
Expand|Select|Wrap|Line Numbers
- 46:SACyl = Circumfrence*CylHeight + PI*TankRadius*TankRadius;
- 47: if(SACyl > 200)
- 48: {
- 49: double CylCost1 = (SACyl-200.0);
- 50: double CylCostD = ((CylCost1*300.0)*0.1);
- 51: double CylCost2 = (CylCost1*300.0)-CylCostD;
- 52: double MyTank.CylCost = (200.0*300.0)+CylCost2;
- 53: }