急求一个JAVA程序,请高手们帮忙一下!!谢谢了

WriteaninteractiveJavaprogramtocalculatehowmanyyearsittakestodoubleyourfix-amountofsa... Write an interactive Java program to calculate how many years it takes to double your fix-amount of savings in a bank. Suppose the interest rate is fixed.
For example, if user saves 1000 dollars into bank, so at bank interest rate 7%, it may take at least 11 years to have the balance become 2000 dollars. Please write a command-line application to assign the letter grades to students based on their scores. Your program should first ask the number of students in the class. For each user, it should ask the name of the student and his/her average score. Then, it should calculate the letter grade, and display the name and the letter grade of the student just entered. It should calculate the letter grades as many times as the number of the students given at the beginning of the program.
Your program should calculate the letter grade as follows:
For average scores from 90 to 100, the letter grade should be “A”.
For average scores from 80 to 89, the letter grade should be “B”.
For average scores from 70 to 79, the letter grade should be “C”.
For average scores from 60 to 69, the letter grade should be “D”.
For average scores from 0 to 59, the letter grade should be “F”.
You may assume that the average score given by the user of your program is valid, that is, it is an integer between 0 and 100.
展开
 我来答
闫国上
2008-10-09 · TA获得超过164个赞
知道小有建树答主
回答量:201
采纳率:0%
帮助的人:229万
展开全部
好累啊,看了一大会终于有点头绪了,很简单的嘛,case一下就完事了啊。前面的银行的用数学表达式表示一下不就ok了。代码自己写吧!
百度网友296954751
2008-10-10
知道答主
回答量:13
采纳率:0%
帮助的人:10.4万
展开全部
我觉得你不是不会写这个。,而是读不懂英文把
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
百度网友939a54e
2008-10-16
知道答主
回答量:13
采纳率:0%
帮助的人:17.9万
展开全部
全是英文哦
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 更多回答(1)
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式