using fprint with prompt
Show older comments
I tried to use fprint with prompt to print out the volume of a cubic with a side length provided by the user

1 Comment
Dai Nguyen
on 2 Sep 2020
Answers (1)
Fangjun Jiang
on 2 Sep 2020
1 vote
fprintf('The volumn of the cubic is: %d',v)
1 Comment
Dai Nguyen
on 2 Sep 2020
Categories
Find more on Low-Level File I/O in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!