All need to be in C++ 1 #include 2 using namespace std; 3 4 int main() 5 { 6 const int MY_VAL = 77; 7 M

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

All need to be in C++ 1 #include 2 using namespace std; 3 4 int main() 5 { 6 const int MY_VAL = 77; 7 M

Post by answerhappygod »

All need to be in C++
1 #include <iostream>
2 using namespace std;
3
4 int main()
5 {
6 const int MY_VAL = 77;
7 MY_VAL = 99;
8 cout << MY_VAL << endl;
9 return 0;
10 }
9. In the following statements you may find some errors. Write down the corrected version of the program below it, on each line assume the previous errors have been fixed.
*/ what’s wrong with this program? /*
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply