Question: Please help me using C++! in both questions 1) (6 points) Lines vs. Statements and Legal Identifiers a. (3 points) How many statements does the

Please help me using C++! in both questions

 Please help me using C++! in both questions 1) (6 points)Lines vs. Statements and Legal Identifiers a. (3 points) How many statements

1) (6 points) Lines vs. Statements and Legal Identifiers a. (3 points) How many statements does the following code snippet contain? (While this is terribly formatted, illegal variables aside, there is nothing illegal about the formatting.) b. (3 points) Which variable names are NOT legal? short int lnum, num 1 4, num2; double num3=2.5; float total#; long int num4, num5; 5) (8 points) char and ASCII: What will be the output of this code? The intention is for you to think about this and then determine the output NOT to type it in and run it... #include using namespace std; int main() { char char1 87; char char2 = 68; char char3 = 45; char char4 = 40; cout (char4)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!