Question: Feedback? CHALLENGE ACTIVITY 2.1.1: Conditionals. Jump to level 1 Write an if-else statement that if numDifference is less than or equal to stringDifference, execute totalDifference

Feedback? CHALLENGE ACTIVITY 2.1.1: Conditionals. Jump to level 1 Write an if-else statement that if numDifference is less than or equal to stringDifference, execute totalDifference = -30. Else, execute totalDifference = numDifference. 1 let totalDifference = 0; let numDifference = -18; // Program will be tested with -18, -19 and -20 3 let stringDifference = "-19"; 4 5 V* Your solution goes here */ 6 2 4 Check Next View your last submission v
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
