urgent help for test please: how to write script on unit convert

i have to write a script in less than 10 lines

5 件のコメント

Jan
Jan 2017 年 10 月 19 日
Exactly: You have to write a script. How can we help you? What is your question?
tayeeba tarannum
tayeeba tarannum 2017 年 10 月 19 日
編集済み: tayeeba tarannum 2017 年 10 月 19 日
hi, i have already added the question as an image form. If you are able to see it, can you please verify my answer?
cups = 3 millilitres = cups*250
After running it, in the command window i get 750
Cedric
Cedric 2017 年 10 月 19 日
If your problem is about the milliliters, replace them by e.g. apples and check out that it all makes sense.
1 cup can store 4 apples. You get 3 cups, how many apples does that represent?
Once you are clear about how that works on paper, try to implement it programmatically. Don't start on the keyboard wondering what you have to type for having the correct answer. First understand on paper. Once you are clear about the approach, try to reproduce using MATLAB code.
Bassil Salih
Bassil Salih 2021 年 9 月 7 日
how to convert gallon to liters

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

カテゴリ

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

質問済み:

2017 年 10 月 19 日

コメント済み:

2021 年 9 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by