using fprint with prompt

8 次查看(过去 30 天)
Dai Nguyen
Dai Nguyen 2020-9-2
I tried to use fprint with prompt to print out the volume of a cubic with a side length provided by the user

回答(1 个)

Fangjun Jiang
Fangjun Jiang 2020-9-2
fprintf('The volumn of the cubic is: %d',v)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by