Question: Write two if conditionals as detailed here. The first if statement must evaluate if the first element of nums _ vec is greater
Write two if conditionals as detailed here.
The first if statement must evaluate if the first element of numsvec is greater than or equal to If it is then subtract from the first element of numsvec, saving this new value to that first element of numsvec.
In the second if statement, evaluate if the first element of numsvec is lesser than the second element of numsvec. If it is then assign the value of a logical true to the variable firstlesserequalsecond. If it is not, then firstlesserequalsecond should have a value of a logical false
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
