作业帮 > 英语 > 作业

英语翻译Write a program to compute the interest due,total amount

来源:学生作业帮 编辑:作业帮 分类:英语作业 时间:2024/07/17 20:33:04
英语翻译
Write a program to compute the interest due,total amount due,and the minimum payment for a revolving credit account.
The program accepts the account balance as input,then adds on the interest to get the total amount due.The rate schedules are the following:
The interest rate is 1.5% on the first $1000 and 1% on any amount over that.The minimum payment is the total amount due if that is $10 or less; otherwise it is $10 or 10% of the total amount owed,whichever is larger.
Your program should include a loop that lets the user repeat this calculation until the user says she or he is done.
写一个程序计算的利息,总金额,和最低付款为循环信用证.
程序接受输入的帐户余额,然后加上利息得到的总金额.率表如下:
利率是1.5%,第一个1000美元和1%的任何金额超过.最小支付应付的总额是10美元或更少;否则它是10美元或10%的总金额,以较大者为准.
你的程序应包括一个循环,让用户重复这一计算到用户说她或他了.
再问: 这个第三行的话是什么意思啊。。。
再答: Write a program to compute the interest due, total amount due, and the minimum payment for a revolving credit account. 写一个程序计算的利息,总金额,和最低付款为循环信用证。 The program accepts the account balance as input, then adds on the interest to get the total amount due. The rate schedules are the following: 程序接受输入的帐户余额,然后加上利息得到的总金额。率表如下: The interest rate is 1.5% on the first $1000 and 1% on any amount over that. The minimum payment is the total amount due if that is $10 or less; otherwise it is $10 or 10% of the total amount owed, whichever is larger. 利率是1.5%,第一个1000美元和1%的任何金额超过。最小支付应付的总额是10美元或更少;否则它是10美元或10%的总金额,以较大者为准。 Your program should include a loop that lets the user repeat this calculation until the user says she or he is done. 你的程序应包括一个循环,让用户重复这一计算到用户说她或他了。