Jump to content

kb24

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About kb24

  • Rank
    Newbie
  • Birthday 08/03/1986

Contact Methods

  • Website URL
    http://
  • ICQ
    0
  1. kb24

    Pls Help

    Use the 6 steps to create a program that uses 2 Dialog boxes to prompt the user for 2 integers then print:• The sum• The difference(take the second number from the first)• The product• Raise the first number to the power of the second using Maths.pow methodMind post me the coding?
  2. kb24

    Addcash

    From code below where is the error? And where to do the correction?public class AddCash{ public static void main(String[]args){ int fivecents = 2; int tencents = 1; int twentycents = 5; int fiftycents = 3; int onedollar = 2; int twodollar = 1; System.out.println("fivecents:"0.05*2); System.out.println("tencents:"0.10*1); System.out.println("twentycents:"0.20*5); System.out.println("fiftycents:"0.50*3); System.out.println("onedollar:"1.00*2); System.out.println("twodollar:"2.00*1); System.out.println("Total=:"0.05*2 + 0.10*1 + 0.20*5 + 0.50*3 + 1.00*2 + 2.00*1); System.out.println("Thank You for using the coin additiion program"); }}
×
×
  • Create New...