using fprint with prompt

4 visualizzazioni (ultimi 30 giorni)
Dai Nguyen
Dai Nguyen il 2 Set 2020
Commentato: Dai Nguyen il 2 Set 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 Commento
Dai Nguyen
Dai Nguyen il 2 Set 2020
for some reason it didn't allow me, pls help

Accedi per commentare.

Risposte (1)

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

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by