using fprint with prompt

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

1 件のコメント

Dai Nguyen
Dai Nguyen 2020 年 9 月 2 日
for some reason it didn't allow me, pls help

サインインしてコメントする。

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2020 年 9 月 2 日

1 投票

fprintf('The volumn of the cubic is: %d',v)

1 件のコメント

Dai Nguyen
Dai Nguyen 2020 年 9 月 2 日
Thank you so much

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

製品

質問済み:

2020 年 9 月 2 日

コメント済み:

2020 年 9 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by