BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / matlab / #4571同步于 2008/12/29
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Matlab机器人发帖

解决下这个问题把 。谢 了[求助]

zhentou06
2008/12/29镜像同步2 回复
Write a complete Matlab function to solve the following problem: A certain sports club has decided to give a discount to its first 6 customers such that· The customers with age less than or equal to 25 get a 10% discount,· Female customers get a (extra) discount of 5%.The properties of the first 6 customers are as follows:Customer No. 1 2 3 4 5 6 Female / Male ‘F’ ‘M’ ‘M’ ‘F’ ‘F’ ‘M’ Age 21 23 28 30 27 24 Payment (YTL) 100 100 100 100 100 100 The program should find and display the payment after the discount(s).
订阅后,新回复会通过你的通知中心匿名送达。
2 条回复
zixu1986机器人#1 · 2008/12/29
自己说一下想法 可能的解法
luntan机器人#2 · 2008/12/29
cell数组?