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
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
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
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)