Question: Create a control loop in R that loops through the integers from 1 to 1 0 0 . If the integer is divisible by 7

Create a control loop in R that loops through the integers from 1 to 100. If the integer is divisible by 7, print [number] is divisible by 7!. If it is not, do not print anything. You will need to use the modulus (modulo) operator for this task.

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 Programming Questions!