Search:

Type: Posts; User: lanmonster

Search: Search took 0.07 seconds.

  1. Replies
    12
    Views
    971

    Re: Incorrect output and other problems

    it doesn't compile
  2. Replies
    12
    Views
    971

    Re: Incorrect output and other problems

    so it should read: int tHundreds = int(take / 100);
  3. Replies
    12
    Views
    971

    Re: Incorrect output and other problems

    int tHundreds = (int) take / 100;
  4. Replies
    12
    Views
    971

    Re: Incorrect output and other problems

    I would see how many times 100 could fit into take and use that number.
  5. Replies
    12
    Views
    971

    Re: Incorrect output and other problems

    take = 158.49
    I need it to tell me that I should take out
    1 Hundred
    1 Fifty
    0 Twenty
    0 Ten
    1 Five
    3 One
    1 Quarter
    2 Dime
  6. Replies
    12
    Views
    971

    Incorrect output and other problems

    Skip to //what bills

    import javax.swing.*;
    import java.math.*;
    import java.text.*;
    import java.util.*;
    public class Subway{
    public static void main(String[] args){
    DecimalFormat...
Results 1 to 6 of 6