Question: Determine if valid or invalid and if invalid explain why. Edit View Insert Format Tools Table Window Help U 8 a valid Assignments v1[compatibili... search
Edit View Insert Format Tools Table Window Help U 8 a valid Assignments v1[compatibili... search in Document Design Layout References Mailings Review View New Ro... 12 Aa A Aa Valid Assignments If myAge is an integer variable, yourRate is a foat variable, and departmentCode is a string variable, which of the following statements are valid assignments? If a statement is not valid, explain why not. float yourRate; string depanpocatCode; Valid Invalid Reason Valid 2, myAge yourRate: Valid Invalid Reason Invalid because ygurRate is not a whole number itis another variable. 3. my Ase-departneoCodes Valid Invalid Reason Invalid and same reason as question 2. Valid Reason Invalid because one not a string so it doesn't need double quotations and two dspartnggscode is not a whole number Valid Invalid Reason Invalid because RyAgs needs to be on the left side and the number 42 on the right to be valid. 6. yourRats 3.5; Valid Invalid Reason Valid Valid invalid 234 Words English (US) Intro to Comp:Prog Logic/Desig (C... organic Chemistry Lab (CHEM-2 CHEM-2211-M01 CSCI-1923-M01 Spring 2017 (201720) Spring 2017 (201720)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
