The following code will not compile. Fix it by inserting one line of code. Do not change anything else. Hint: copy and p
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
The following code will not compile. Fix it by inserting one line of code. Do not change anything else. Hint: copy and p
The following code will not compile. Fix it by inserting one line of code. Do not change anything else. Hint: copy and paste the code below into your answer box, then make the required addition. Also include a comment indicating the line of code that you inserted, and why that line of code is required. #include using namespace std; int main() \{ cout < "The word of the day is: "; sayWord (); return 0; \} void sayWord() \{ cout ≪ "WORD!";
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!