Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

What is wrong in this code?

1 view (last 30 days)
Aimen Mujahid
Aimen Mujahid on 22 Feb 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
O=1; U=input('Enter number of retailers'); for u=1:U; Cuo=zeros(u:O); Cuo(u,O)=input('Enter traveling cost for retailer to collection center'); end SumCuo=Sum(Cuo(:)); disp(SumCuo);

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!