using fprint with prompt

10 vues (au cours des 30 derniers jours)
Dai Nguyen
Dai Nguyen le 2 Sep 2020
Commenté : Dai Nguyen le 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 commentaire
Dai Nguyen
Dai Nguyen le 2 Sep 2020
for some reason it didn't allow me, pls help

Connectez-vous pour commenter.

Réponses (1)

Fangjun Jiang
Fangjun Jiang le 2 Sep 2020
fprintf('The volumn of the cubic is: %d',v)
  1 commentaire
Dai Nguyen
Dai Nguyen le 2 Sep 2020
Thank you so much

Connectez-vous pour commenter.

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by