User Profile

Collapse

Profile Sidebar

Collapse
monkey1001
monkey1001
Last Activity: Mar 28 '08, 04:59 AM
Joined: Dec 3 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • the input is to determine the type of customer using the value btw 0-9999 and prompt user for the present and previous reading. the output is to print something that looks like a bill including header,customer type,presenet and previous reading,number cubic used and amount due.....
    See more | Go to post

    Leave a comment:


  • monkey1001
    started a topic how can i improve this program....thank you
    in Java

    how can i improve this program....thank you

    the program is supposed to calculate home or commercial gas usage and then print the type of customer,presen t reading,previou s reading,cubic used and cost for the month..the user inputs values btw 0-9999 and to determine number of cubic used subtract the previous from present.if present is less then previous subtract previous reading form 9999
    add the current reading to that difference ot get cubic used
    my trouble is the calculation...
    See more | Go to post

  • monkey1001
    started a topic how do you read...
    in Java

    how do you read...

    this loop to get this answer...



    thank you...
    See more | Go to post
    Last edited by monkey1001; Mar 4 '08, 02:02 AM. Reason: added stuff

  • Help requested for program to "calculate coin change"

    my program is suppose to show my due change and i got it working but my change and coins are wrong how can i improve it thank you..(its supposed to be in java)...
    See more | Go to post

  • monkey1001
    started a topic help with java programming..
    in Java

    help with java programming..

    i have to write a program that will display the purchase,tender ed,change,dolla rs,Q,D,N,P
    the purchase & tendered has to be double and the number of coins have to be an int when i run the prgm it only asks me to enter purchase and tendered amount and thats it. it does not ask anything else it like skips everything else..anybody has an advice on how i can improve it pleaseee and thank u..

    [CODE=Java]import java.util.Scann er;...
    See more | Go to post
    Last edited by BigDaddyLH; Jan 31 '08, 03:37 PM. Reason: quote tags were mistakenly used instead of code tags.

  • hi, am new to java and not sure how to improve this program.....

    the program has to calculate the change due after a purchase, the program runs but my coins are in decimal point and it supposed to like single point..can someone help me with this i am not sure how what to do next...thanks alot
    [CODE=java]import java.util.Scann er;
    public class Program1
    {
    public static void main(String [] args)
    {
    double purchase,change ,quarters,dimes ,nickels,pennie s;
    Scanner...
    See more | Go to post
    Last edited by Ganon11; Jan 31 '08, 12:28 AM. Reason: Please use the [CODE] tags provided.

  • monkey1001
    started a topic Java beginner problem: arrays and ints
    in Java

    Java beginner problem: arrays and ints

    how do i write a java program tht will store seven integer values in an array of type integer......pl ease helppppp... this is what i got but not sure about it...thnkss...a nd it has to include reverse order.

    import java.io.Buffere dReader;
    import java.io.IOExcep tion;
    import java.io.InputSt reamReader;

    public class SevenIntegers
    {
    public static void main(String args[])
    {
    ...
    See more | Go to post
    Last edited by monkey1001; Dec 3 '07, 10:26 AM. Reason: lil fixx

  • monkey1001
    started a topic java programming
    in Java

    java programming

    hi, am stuck on writting a java program that will output three integers in descending order(highest to lowest)...pleas e helppp...thks.. this is what i got and i think tht its so wrong..

    public class HighToLow
    {
    public static void main(int a, int b, int c)
    {
    int max = a;
    int med = b;
    int low = c;
    int temp;

    if(a < b)
    {
    temp = a;
    ...
    See more | Go to post

  • the "n" stands for user entered value and the "+" represntd "and"...
    See more | Go to post

    Leave a comment:


  • hi, i have to write a program that calculates and displays numbers btw 1 and 100 incl

    this is what i got and am stuck...please helpp..thanks

    [CODE=java]import java.util.Rando m; //Needed for Scanner class
    import java.util.*;

    /**
    This program demonstrates value between 1 and 100 inclusive
    */

    public class Value
    {
    public static int getValidValue()

    {
    Scanner keyboard = new Scanner(System. in);

    int...
    See more | Go to post
No activity results to display
Show More
Working...