Question: 67. State whether the following are valid identifiers or not. State the reason for invalid identifiers. newBalance 2ndNum firstNum gross pay netPay gpa Staxes A2

67. State whether the following are valid identifiers or not. State the reason for invalid identifiers. newBalance 2ndNum firstNum gross pay netPay gpa Staxes A2 68. In a C++ program the following declarations were made: int a = 3, b = 5; c = 2 float x = 3.6, y = 1.2 double z 1.44 Find the values assigned to the variable, after each of the following assignment statements. Assume the same initial values declared above for each assignment statement. // find the value ofx // find the value ofa a) x=c*x+b/a b) a = (a * b)/(a + b) c) c=b/a*c d) y b/4+x+ a e) a=++b f) a=o-c) g) b++ h) -c i) y = b % c + sqrt(10"2 // find the value c l find the valuc of y // find value of a and b // find value of a, b, and c // find the value ofb a = abs(y-x) + pow (a,c) a*-b y=int (x + y + c) Il value ofc // value of the expression and y // value of the expression and a /l value of a, and b //value of y k) l) 69. Write C++ statements for the following a (r"-1) V( a2 + b2 ) a, c= pmt =
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
