using fprint with prompt

10 ビュー (過去 30 日間)
Dai Nguyen
Dai Nguyen 2020 年 9 月 2 日
コメント済み: 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 件のコメント
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 日
fprintf('The volumn of the cubic is: %d',v)
  1 件のコメント
Dai Nguyen
Dai Nguyen 2020 年 9 月 2 日
Thank you so much

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

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by