Question: Question 2 number=1; counter=0; number-= 0 number = input ('enter a number'); counter=counter+ 1; end counter=counter-1; In the MATLAB code above, which of the following

 Question 2 number=1; counter=0; number-= 0 number = input ('enter a

Question 2 number=1; counter=0; number-= 0 number = input ('enter a number'); counter=counter+ 1; end counter=counter-1; In the MATLAB code above, which of the following is true for the counter variable? A-)the value of the counter variable is the number entered from the keyboard as a deficiency of this number, if it is equal to zero is calculated. B-)the value of the counter variable is entered from the keyboard if the number is not equal to zero, as a deficiency of that number is calculated. C-)counter variable to zero number entered from keyboard it shows how many numbers have been entered D-)number of zeros from the counter variable keyboard how many total numbers are entered when entered references

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!