Question: Create a variable called potato whose value corresponds to the number of potatoes you've eaten in the last week .Or something equally ridiculous .Print out

Create a variable called potato whose value
Create a variable called potato whose value corresponds to the number of potatoes you've eaten in the last week .Or something equally ridiculous .Print out the value of potato . Calculate the square root of potato using the sqrt () function .Print out the value of potato again to verify that the value of potato hasn't changed . Reassign the value of potato to potato * 2. Print out the new value of potato to verify that it has changed . Try making a character (string) variable and a logical variable . Try creating a variable with a "missing" value NA. You can call these variables whatever you would like. Use class (variablename )to make sure they are the right type of variable

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