1. Engineering
  2. Computer Science
  3. for credit you must show your work 1 given 2...

Question: for credit you must show your work 1 given 2...

Question details

FOR CREDIT yOu must show your work 1. Given: (2 points per problem) int x-3, m-2, h-14; long z- 9; double n 15.0, y-34.2; Which of the following assignments are valid. If an assignment is not valid state the reason. If the assignment is valid show the result of the calculation. NOTE assume that the effect of these assignment statements are NOT accumulative. (4 points each, 20 total) a, m-(int) 17.5 * 2 + h%3; b. z*- 2 *m+ z/3; C. X 4*2/3-(5 * h) % 4; e. n-, (z * m ) + (y-h%4);

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution