新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   XML论坛     W3CHINA.ORG讨论区     计算机科学论坛     SOAChina论坛     Blog     开放翻译计划     新浪微博  
 
  • 首页
  • 登录
  • 注册
  • 软件下载
  • 资料下载
  • 核心成员
  • 帮助
  •   Add to Google

    >> 本版讨论Java, J2SE, J2ME, J2EE, 以及Eclipse, NetBeans, JBuilder等Java开发环境,还有JSP, JavaServlet, JavaBean, EJB以及struts, hibernate, spring, webwork2, Java 3D, JOGL等相关技术。
    [返回] 中文XML论坛 - 专业的XML技术讨论区计算机技术与应用『 Java/Eclipse 』 → 寻找Java高手帮我做作业(报酬100)可长期合作,QQ联系37593223 注明Java 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 5094 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: 寻找Java高手帮我做作业(报酬100)可长期合作,QQ联系37593223 注明Java 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     joelhjw 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:1
      积分:53
      门派:XML.ORG.CN
      注册:2009/10/13

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给joelhjw发送一个短消息 把joelhjw加入好友 查看joelhjw的个人资料 搜索joelhjw在『 Java/Eclipse 』的所有贴子 引用回复这个贴子 回复这个贴子 查看joelhjw的博客楼主
    发贴心情 寻找Java高手帮我做作业(报酬100)可长期合作,QQ联系37593223 注明Java

    Create a Java program a1q1.java that contains the following coding. Compile and perform the
    necessary debugging.
    2. Create a Java program a1q2.java that calculates how much a $25,000 four years
    investment plan would be worth at the end of each year in the next four years, if it
    a) increased in values by 35% during the first year
    b) lost $1,500 in value the second year
    c) decreased 15% in the third year
    d) increased 20% plus $1,200 loyalty bonus in the fourth year
    3. Create a Java program a1q3.java as in Q2 above with 15% interest tax applied on the
    capital gain at the end of each year.
    Notes & Requirements:
    1. Use meaningful variables.
    2. Try your best to enhance the readability of your program.
    3. Internal documentations are necessary and will be counted.
    4. Your program listing must be in an A4 paper.
    Public Class a1q1 {
    public static void main (string[] arguments) {
    String line1 == "The advancement of the arts from year\n";
    String line2 = "to year, taxes our credulity, and seems\n";
    String line3 = "to presage the arrival of that period\n";
    String line4 = "when human improvement must end.";
    String quote = line1 + line2 + line3 + line4;
    String speaker = "Henry Ellsworth";
    String title = "US Commissioner of Patents";
    String from = "1843 Annual Report of the Patent Office";
    System.Out.println("\n\n" + '\u0022' + Quote + '\u0022');
    System.out.println("\t" + speaker);
    System.out.println("\t" + title);
    System.out.println("\t" - from);
    }
    }
    }

    2. Create a Java program a1q2.java that calculates how much a $25,000 four years
    investment plan would be worth at the end of each year in the next four years, if it
    a) increased in values by 35% during the first year
    b) lost $1,500 in value the second year
    c) decreased 15% in the third year
    d) increased 20% plus $1,200 loyalty bonus in the fourth year

    3. Create a Java program a1q3.java as in Q2 above with 15% interest tax applied on the
    capital gain at the end of each year.
    Notes & Requirements:
    1. Use meaningful variables.
    2. Try your best to enhance the readability of your program.
    3. Internal documentations are necessary and will be counted.
    4. Your program listing must be in an A4 paper.


       收藏   分享  
    顶(0)
      




    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2009/10/13 20:27:00
     
     GoogleAdSense
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 Java/Eclipse 』的所有贴子 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2024/11/30 1:10:53

    本主题贴数1,分页: [1]

    管理选项修改tag | 锁定 | 解锁 | 提升 | 删除 | 移动 | 固顶 | 总固顶 | 奖励 | 惩罚 | 发布公告
    W3C Contributing Supporter! W 3 C h i n a ( since 2003 ) 旗 下 站 点
    苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
    7,871.094ms