Question: Find at least 5 errors in the below program and correct them. // C++ program to try #include using namespace std; int main() {

Find at least 5 errors in the below program and correct them.

 

Find at least 5 errors in the below program and correct them. // C++ program to try #include using namespace std; int main() { } doble b= 2.5; int a, k=6; d; User can input an integer cout < < "Enter a number < < endl; cin < k; a= b; b=k; // compute and display surface ad cout < < Total is:

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 Programming Questions!