User Profile

Collapse

Profile Sidebar

Collapse
Dave128
Dave128
Last Activity: Nov 29 '06, 08:30 PM
Joined: Oct 29 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Dave128
    started a topic Need help on Looping
    in Java

    Need help on Looping

    I am trying to write a program for an assignment that uses a For loop to produce an output that looks like this:

    * ********** ********** *
    ** ********* ********* **
    *** ******** ******** ***
    **** ******* ******* ****
    ***** ...
    See more | Go to post

  • Dave128
    replied to Java Exercise
    in Java
    Here is code I started but I am getting errors. Can anybody help me get this problem corrected?

    [/CODE]
    import java.util.Scann er;

    public class CreditCheck
    {
    Scanner input = new Scanner( System.in );
    // define instance variable
    int acctNo = 0;
    double shopinitA = 0.0;// initial balance
    double shopcharges = 0.0; // charges applied to user's acct
    double shopcredits...
    See more | Go to post

    Leave a comment:


  • Dave128
    replied to Help on looping in java
    in Java
    Ok thanks for your help. :)
    See more | Go to post

    Leave a comment:


  • Dave128
    replied to Help on looping in java
    in Java
    For this program I started coding it using the For Loop but I am not sure how to show the results under the 4 headers. If somebody can help me I would appreciate it.The output on the screen is suppose to looks like this:

    N 10*N 100*N 1000*N
    1 10 100 1000
    2 20 200 ...
    See more | Go to post

    Leave a comment:


  • Dave128
    started a topic Java Exercise
    in Java

    Java Exercise

    Hi, I have an exercise I need to do for Java. I am not sure how to start this program. Can somebody help me get started on this problem? Thanks in advance for your help. The problem is as follows:
    Develop a Java application that will determine whether any of several department-store customers has exceeded the credit limit on a charge account. For each customer, the following facts are available:
    a) account number
    ...
    See more | Go to post

  • Dave128
    started a topic Help on looping in java
    in Java

    Help on looping in java

    Let me first start off by saying I am a beginner at Java. I need help on an assignment to produce a loop which I believe for this particular assignment would be the for loop. The output needs to look like this

    N 10*N 100*N 1000*N
    1 10 100 1000
    2 20 200 2000
    3 30 300 3000
    ...
    See more | Go to post
No activity results to display
Show More
Working...