using fprint with prompt

5 Ansichten (letzte 30 Tage)
Dai Nguyen
Dai Nguyen am 2 Sep. 2020
Kommentiert: Dai Nguyen am 2 Sep. 2020
I tried to use fprint with prompt to print out the volume of a cubic with a side length provided by the user
  1 Kommentar
Dai Nguyen
Dai Nguyen am 2 Sep. 2020
for some reason it didn't allow me, pls help

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 2 Sep. 2020
fprintf('The volumn of the cubic is: %d',v)

Kategorien

Mehr zu Low-Level File I/O finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by