我需要帮助

扫码查看
本文介绍了我需要帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 是的,这是一项家庭作业。我的导师打破了英语,我昨晚无法跟进。我该怎么做 用Java编写程序(没有图形用户界面)并拥有它 计算3个抵押贷款的支付金额: br /> a .. 7年5.35% b .. 15年5.5% c .. 30年5.75 % 使用数组表示不同的贷款。显示每笔贷款的抵押贷款金额 。 我的第一个是低于有效但我如何做以上 公共课wtest { public static void main(String [] args) { double principal = 2000000.0; double rate = 5.75; double term = 30.0; double monthlyPayment = 0.0; rate = rate / 1200.0; term = term * 12; monthlyPayment = principal * rate /(1.0 - Math.pow(rate) + 1,-term)); System.out.println(monthlyPayment); } } - 互联网上最好的实时网络视频 http://www.seedsv.com/webdemo.htm 新的嵌入式系统W / Linux。我们现在销售DVR卡。 在 http: //www.seedsv.com/products.htm Sharpvision只是最好的 http://www.seedsv.comYes this is a homework assignment. My instructor has broken english and Ijust could not follow along last night. How do I do thisWrite the program in Java (without a graphical user interface) and have itcalculate the payment amount for 3 mortgage loans:a.. 7 year at 5.35%b.. 15 year at 5.5%c.. 30 year at 5.75%Use an array for the different loans. Display the mortgage payment amountfor each loan.My first one is below that works but how do I do the abovepublic class wtest{public static void main (String[] args){double principal =2000000.0;double rate =5.75;double term =30.0;double monthlyPayment =0.0;rate = rate/1200.0;term = term * 12;monthlyPayment = principal * rate/ (1.0 - Math.pow(rate+1,-term));System.out.println(monthlyPayment);}}--The best live web video on the internet http://www.seedsv.com/webdemo.htmNEW Embedded system W/Linux. We now sell DVR cards.See it all at http://www.seedsv.com/products.htmSharpvision simply the best http://www.seedsv.com推荐答案 既然是家庭作业,我会给出一个提示,而不是 一个全面的答案: 公共课Wtest { public static void main(String [] args){ double principal = 2000000.0; //漂亮的房子! double [] rates = {5.35,5.5,5.75}; double [] terms = {7.0,15.0,30.0}; for(int i = 0; i< rates.length; ++ i){ ... 我希望这个帮助! - Er ****** ***@sun.comSince it''s homework, I''ll give a hint rather thanan all-out answer:public class Wtest {public static void main (String[] args) {double principal = 2000000.0; // nice house!double[] rates = { 5.35, 5.5, 5.75 };double[] terms = { 7.0, 15.0, 30.0 };for (int i = 0; i < rates.length; ++i) {...I hope this helps!-- Er*********@sun.com 既然是作业,我会给出一个提示,而不是一个全面的答案: 公共课Wtest { public static void main( String [] args){ double principal = 2000000.0; //好房子! double [] rate = {5.35,5.5,5.75}; double [] terms = {7.0,15.0,30.0}; for(int i = 0; i< rates.length; ++ i){ ... 我希望这会有所帮助! - Er ********* @ sun.com 既然是作业,我会给出一个提示,而不是一个全面的答案: 公共课Wtest { public static void main( String [] args){ double principal = 2000000.0; //好房子! double [] rate = {5.35,5.5,5.75}; double [] terms = {7.0,15.0,30.0}; for(int i = 0; i< rates.length; ++ i){ ... 我希望这会有所帮助! - Er ********* @ sun.com 这篇关于我需要帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-22 22:06
查看更多