(Solved) : 7 15 Points Punith Student Csci 1300 Semester S Writing Program Prints Hello 1300 S Workin Q44003589 . . .
C++

7. (15 points) Punith is a student in CSCI 1300 in this semester. He’s writing a program that prints “Hello 1300!”, but it’s not working well. Describe two compile-time errors and one run-time error and how to fix them. The cpp file is available on Moodle. Try to run it by yourself) 1 2 3 4 // CS1300 // Author: Punith Sandhu // Recitation: 123 – Favorite TA // Homework 1 – Problem 101 — Hello 1300! 6 #include <iostream> using namespace std; 9 10 11 // hello program: it prints “Hello 1300!” int main(){ cot « “hello 1300!” << endl return 0; } 12 13 Show transcribed image text 7. (15 points) Punith is a student in CSCI 1300 in this semester. He’s writing a program that prints “Hello 1300!”, but it’s not working well. Describe two compile-time errors and one run-time error and how to fix them. The cpp file is available on Moodle. Try to run it by yourself) 1 2 3 4 // CS1300 // Author: Punith Sandhu // Recitation: 123 – Favorite TA // Homework 1 – Problem 101 — Hello 1300! 6 #include using namespace std; 9 10 11 // hello program: it prints “Hello 1300!” int main(){ cot « “hello 1300!”
Expert Answer
Answer to 7. (15 points) Punith is a student in CSCI 1300 in this semester. He’s writing a program that prints “Hello 1300!”, but …
OR