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? /*
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
-
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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!