The C++ program in Program Q1 will not compile because the lines have been mixed up. Program Q1 cout << "Melaka\n"; cout
Posted: Wed Apr 27, 2022 5:02 pm
The C++ program in Program Q1 will not compile because the lines have been mixed up. Program Q1 cout << "Melaka\n"; cout << " Melaka\n\n"; int main() cout << "Melaka"; using namespace std; //This is a mixed program #include<iostream> cout << "Melaka\n"; { return 0; } Rearrange the lines in Program Q1 in the correct order, to display the output on the screen when running it on the DEVC++ IDE as shown in Figure Q1. OUTPUT CONSOLE Х Melaka Melaka Melaka Melaka Figure Q1