1) Write a variable assignment statement that assigns totalPets with 3. Incorrect totalPets = ? 20 Check Show answer 2) Write a variable assignment statement that assigns luckyNumber with 7 and suppresses the output to the command window. Check Show answer 3) Write a variable assignment statement that assigns birdFeeders with the current value of variable stockCount, and prints the value of the variable to the command window. Check Show answer PARTICIPATION ACTIVITY 21.5 Variable assignments. 1) What is the value stored in luckyNumber after these two statements execute? Incorrect luckyNumber is first written with 7, then re-written with 4 luckyNumber - 7 lucky number = 4: 711 Check Show answer 2) Assume apples currently has the value 5 and oranges the value 9 What is the value stored in apples after the following statement? apples = apples + 1; Check Show answer 3) Assume apples currently has the value 5 and oranges the value 9 What is the value stored in apples after the following statements? apples - Oranges oranges - orange 1 Check Show answer 4) Write a statement, ending with "- 14. that decreases the value stored in apples by 1. The output of the statement should be suppressed J Check Show answer 5) Write two statements, the first setting apples to 7, and the second setting oranges to apples plus one. Terminate each statement with a semicolon Check Show answer Assigning a sum Write a statement that assigns numCoins with numNickels + numDimes. Script Save e Reset MATLAB Documentation 1 numNickels = 5 2 numDimes = 10 4 % a statement that assigns numCoins with numNickels + numDimes Run Script Fahrenheit to Celsius using multiple statements Given a Fahrenheit value temperatureFahrenheit, write a statement that assigns temperature Celsius with the equivalent Celsius value. While the equation is C = 5/9' (F-32), as an exercise use two statements, the first of which is "fractional Multiplier = 5/9: Script Save C Reset MATLAB Documentation temperatureFahrenheit = 77 2 3 Write a statement that assigns fractionalMultiplier with 5/9 4 6 Modify the statement below to convert Fahrenheit to Celsius, 7 % assigning temperatureCelsius with the Celsius value 8 temperatureCelsius = Run Script Multiple variables: Curving an exam score Write a statement that assigns myExamScore with 82. Write a statement that assigns myCurvedExamScore with myExamScore +5. Script Save e Reset E MATLAB Documentation 1 % Write a statement that assigns myExamScore with 82 3 % Write a statement that assigns myCurvedExamScore with myExamScore + 5 2 Run Script