Search:

Type: Posts; User: shep

Search: Search took 0.27 seconds.

  1. Re: How to store a number that was inputted by the user? please help

    yh im sorry im new and well im stupid so i kinda understand what you are saying but not fully if u get me but i trying to store the number when i top-up so when i go to purchase it will subtraction...
  2. How to store a number that was inputted by the user? please help

    Hey people im just wondering is there a way to store a number without using the non-void methods
    heres my code my code works grand but i need to store the balence and by how much it was topped up by...
  3. Re: Hey guys i've been trying to write this program for ages please Help!!

    well it would be going down from the inputted number like if i inputted 24 and this program goes down in 3 then i would like it to 24,21,18,15,12,3,6,3,0 like that but i tried the i-- and i got an...
  4. Hey guys i've been trying to write this program for ages please Help!!

    how do i reverse an order of numbers starting with the input and working it's way down


    import java.io.*;
    import java.util.*;

    public class question4
    {
    public static void main(String[]...
  5. Replies
    7
    Views
    224

    Re: Need help people please help!!

    so my code is right but do i have to set j = 1 ? please help im very confused
  6. Replies
    7
    Views
    224

    Re: Need help people please help!!

    ok sorry here's the code and are sure about 1 not being a prime number


    // File: Prime.java |
    //...
  7. Replies
    7
    Views
    224

    Re: Need help people please help!!

    can someone help me i'm trying to print out prime numbers starting with 1 but it doesn't print out 1 i know it maybe a stupid question but i can't seem to find out how to
  8. Replies
    7
    Views
    224

    Need help people please help!!

    Hello everyone i need help with a prime number program i'm getting a small error and don't know how to solve it


    // File: Prime.java |
    //...
  9. Re: Need Help with a do while loop I'm not sure if right Please Help!!

    i got it thanks for the help man
  10. Re: Need Help with a do while loop I'm not sure if right Please Help!!

    i understand but could u give me an example please
  11. Re: Need Help with a do while loop I'm not sure if right Please Help!!

    Thanks for replying but i don't know how to stop a do while loop or have an if statement so i can stop it please help me
  12. Need Help with a do while loop I'm not sure if right Please Help!!

    Hey guys i need help i am trying to execute a do while loop and don't know how to do it properly and to stop the loop please help me


    class Category{
    public static void main(String[] args){
    ...
  13. Replies
    4
    Views
    119

    Re: Hey guys need help kinda stuck

    its ok it just solved it thank you
  14. Replies
    4
    Views
    119

    Re: Hey guys need help kinda stuck

    im sorry im new to this and im stuck at the end of my program and im trying to figure out a way how i can output messages eg If BOTH answers are NO output “You appear to like saying No!”
    - If ONLY...
  15. Replies
    4
    Views
    119

    Hey guys need help kinda stuck

    Ok here's the problem i have typed up most of the program and i cant get this little bit to work, cant think and this was a last resort
    So i have to output an message of the last two questions:
    -...
  16. Re: Hey guys need abit of help please stressing like a mad thing

    i know what the problem is but does anyone know how to add all the answers up at the end and say "Thank you, you entered 7 Yes and 3 No"
  17. Re: Hey guys need abit of help please stressing like a mad thing

    the error message is :variable answer11 might have not be initialized
  18. Re: Hey guys need abit of help please stressing like a mad thing

    Heres the program again

    class Survey2{
    public static void main(String[ ] args)
    {

    char yes = 'y', no = 'n', answer1, answer2, answer3, answer4, answer5, answer6, answer7,answer8, answer9,...
  19. Re: Hey guys need abit of help please stressing like a mad thing

    the error message seems to be that at line 155 System.out.println("To Question 11: Do you drink alcohol? Y/N : You answered"+" "+ answer11);
  20. Re: Hey guys need abit of help please stressing like a mad thing

    In the program i am suppose to have 10 questions for the user to answer and if the user answer less than 5 yes then i got to ask them to answer two more questions
  21. Re: Hey guys need abit of help please stressing like a mad thing

    Heres a zip file for the program and the class file
  22. Re: Hey guys need abit of help please stressing like a mad thing

    well here's the real program i have a couple of mistakes but i can sort it but not the error i keep getting
    class Survey{
    public static void main(String[ ] args)
    {

    char yes = 'y', no =...
  23. Re: Hey guys need abit of help please stressing like a mad thing

    im sorry i tried to copy the error messages but it would not let me but ill put up the keyboard.class do u know how to upload .class file i tried but it said unvalid file
  24. Hey guys need abit of help please stressing like a mad thing

    Im trying to program a survey and one of the bits on my survey wont work and heres the little bit that wont work please help!!!
    class jon{
    public static void main(String[] args)
    {

    char...
Results 1 to 24 of 24