Search:

Type: Posts; User: toppcon

Search: Search took 0.11 seconds.

  1. Re: Having problems with output to console....help!

    Appreciate your patience.
  2. Re: Having problems with output to console....help!

    Sorry I didn't realize part of my code didn't make it through.
  3. Re: Having problems with output to console....help!

    my code:
    Main:


    public class InvoiceApp
    {
    public static void main(String[] args)
    {
    String message;
    double discountPercent=0;
  4. Re: Having problems with output to console....help!

    If you look at my #7 post, you will see what output I get. Also, the copy/paste method here might leave some stuff behind. It compiles and runs on my machine.
  5. Re: Having problems with output to console....help!

    Now type "n" and see what the formatted output does. Can you tell me if the setter method-calculate is right? Aren't setters void but have no parameters?
  6. Re: Having problems with output to console....help!

    Can you tell me if I'm using the setter-calculate- right? Usually it's a void with no arguments right?
  7. Re: Having problems with output to console....help!

    right, now hit "n" and look at output.
  8. Re: Having problems with output to console....help!

    By "stopped" I mean they either are not being passed to getInvoice() or the output is not formatted right. After the calculate setter, the customerType and subtotal are still being passed and even...
  9. Re: Having problems with output to console....help!

    My Code:
    Main:



    public class InvoiceApp
    {
    public static void main(String[] args)
    {
    String message;
  10. Re: Having problems with output to console....help!

    Yes the program executed the way i expected it to.
    The string output is the way i have to have it formatted
    I'm not sure why blanks are being printed...thats what i'm trying to figure out.
  11. Re: Having problems with output to console....help!

    I placed prinln's along the way to see what was happening, but there was nothing in the variables-blanks were printed. And no errors.
  12. Having problems with output to console....help!

    My output is not printing to the screen, I only get zero's. I ran a dummy out.print in the getCustType and the values of sCustomerType and subtotal were printing right. But when I call the getInvoice...
  13. Need help with exception handling for a string

    I am writing a program that you have to enter either "R", "T", or "C" for some code to execute. I have everything running but cannot figure out how to handle if a different letter is entered or a...
  14. Replies
    2
    Views
    1,145

    Array problems...newby...confused?

    I need to declare private vars-not static, and need to load arrays then output them to the console. I get some funky output:

    The Baker College Grade Standard is:
    Grade@19821f 90-100...
  15. Replies
    1
    Views
    2,726

    Trying to output color....HELP PLEASE!

    Problem: I am trying to output different attributes of balls - golf, soccer, baseball.
    I am trying the output to look like the following:

    color = red and hardness = median and size = big

    but...
Results 1 to 15 of 15