If x=-1/3 is a zero of the polynomial p(x) = 27 x³-ax³ -x+3. Find the value of 'a'.
Answers
Answered by
0
Step-by-step explanation:
Once both numbers have been entered, we assign two variables with the value 0, to represent the count of even/odd numbers. We then start a for loop, an iteration statement used to perform repeated checking. We give the range as (n1, n2 + 1), since both values need to be included as per the question. We check if they're even or odd using a conditional statement. If they're even, the count of the even variable increases by 1 and if they're not even, the count of the odd variable increases by 1. The final output is then printed.
Similar questions