Question: Use R to solve these problems ) Write program which finds the followings for the given values between 150 to 1000. a) How many odd
Use R to solve these problems

) Write program which finds the followings for the given values between 150 to 1000. a) How many odd numbers are between 150 and 1000 (include 150 and 1000) b) Find the sum of odd numbers which are between 150 and 1000 (include 150 and 1000) c) Find the multiplication of odd numbers which are between 150 and 1000 (include 150 and 1000) d) Find the sum of square of odd numbers which are between 150 and 1000 (include 150 and 1000) 5. Write a program so that for give M, it computes the sum s- k-1 (Hint: Use the while-loop . As we see in in the class, you can update s as s-stk and you need to increase the k in each step such thatk-k+1)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
