Question: for c++: In the program below, what line inserted at ???????? will print 35 sq in? int main(void) { int base = 7; int height

for c++: In the program below, what line inserted at ???????? will print "35 sq in"? int main(void) { int base = 7; int height = 10; ???????? return 0; } // End main

A: cout << "(0.5 * base * height)" << " sq in" << endl;
B: cout << 0.5 << "*" << base << "*" << height << " sq in " << endl;
C: cout << (0.5 * base * height) << " sq in" << endl;
d: cout << 0.5 * base * height << sq in << endl;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!