Page 1 of 1

QUESTION 19 Suppose you have the values of x=217.2894 and y=92.6852 in your workspace. Which of these is the correct syn

Posted: Sun Jul 10, 2022 11:27 am
by answerhappygod
Question 19 Suppose You Have The Values Of X 217 2894 And Y 92 6852 In Your Workspace Which Of These Is The Correct Syn 1
Question 19 Suppose You Have The Values Of X 217 2894 And Y 92 6852 In Your Workspace Which Of These Is The Correct Syn 1 (62.07 KiB) Viewed 47 times
QUESTION 19 Suppose you have the values of x=217.2894 and y=92.6852 in your workspace. Which of these is the correct syntax to provide the output below: The value of x is 217.3 and y is 92.685. None of these is the correct syntax fprintf('The value of x is %5.1f and y is %5.3f. \n',x,y) disp('The value of x is %5.1f and y is %5.3f. \n',x,y) 'The value of x is %5.1f and y is %5.3f. \n',x,y fprintf('The value of x is %x and y is %y. \n') O fprintf('The value of x is %5.0f and y is %5.0f. \n',y,x)