有36个人在一家饭店用餐,男人每人花了50元,女人每人花了40元,小孩每人花了20元,一共花了1600元 用C#
匿名用户 2010-10-15 15:15
满意回答
using System; using System.Collections.Generic; public class MyClass { public static void Main() { int x=0; int y=0; int z=0; for(;x
宝宝知道提示您:回答为网友贡献,仅供参考。
为您推荐:
其他回答
定义男人=X,女人=Y,小孩=Z X+Y+Z=36 50X+40Y+20Z=1600 按这个编吧,格式我忘了,不好意思!
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 有36个人在一家饭店用餐_男人每人花了50元_女人每人花了40元_小孩每人花了20元_一共花了1600元 {...