Search:

Type: Posts; User: Nhedro

Search: Search took 0.10 seconds.

  1. Replies
    2
    Views
    2,087

    Re: Why wont my program calculate sales tax?

    Shoulnd't u also write a void main? there u would call the other methods as setSalesTax, then u would call displayInfo.
    I don't know much from it, just trying to solve that
  2. Replies
    5
    Views
    1,990

    [SOLVED] Re: BufferReader, histogram

    i haven't tried none of those classes, but i will try to do has u say, work line by line, it may be much usefull. u are saying that if i use "the Arrays class's toString " i will get a word only?
  3. Replies
    5
    Views
    1,990

    [SOLVED] Re: BufferReader, histogram

    It was supposed to be words instead of palavras, when i do the insert.split() i dont define the length of words, and it gives an error of OutOfBonds,



    String [] word;

    words = insert.split("...
  4. Replies
    5
    Views
    1,990

    [SOLVED] BufferReader, histogram

    Hi, i have an assignment where i have to do a histogram, that is i receive a text and must count the times each word in the text appears. This method receives a BufferReader and a BufferWritter,...
  5. Replies
    5
    Views
    2,105

    [SOLVED] Re: BufferReader and BufferWritter

    I've done it if someone is curious i post the code


    static void removeLetters( BufferedReader orders, BufferedReader in, BufferedWriter out ) throws IOException;{


    ...
  6. Replies
    5
    Views
    2,105

    [SOLVED] Re: BufferReader and BufferWritter

    Thanks Norm, i think i understood, i will try it :).
  7. Replies
    5
    Views
    2,105

    [SOLVED] Re: BufferReader and BufferWritter

    the source is a .txt that was given to me, but it mut read any Buffer given; i must build those methods, anid would like to know if there is a way to know the length of the BufferReader, for...
  8. Replies
    5
    Views
    2,105

    [SOLVED] BufferReader and BufferWritter

    I got an home assignment, that is composed by writting a class where i must have 3 methods:

    >static void removeLetters( BufferedReader orders, BufferedReader in, BufferedWriter out ) throws...
  9. Thread: If stament

    by Nhedro
    Replies
    7
    Views
    1,480

    Re: If stament

    in this case first you are saying if experience is lower than num 3 than if true, if experience num3 greater than experience
  10. Replies
    7
    Views
    1,726

    Re: I am a beginner please help :)

    If it is for an array, u could also use a "for" or a do{...}while()
  11. Replies
    28
    Views
    3,152

    Re: PLEASE HELP!!!!!!

    As Kevin said u still lack of some syntax; like for example think about joining some if, and put multiple conditions, u have two comands: "||" = or , "&&" = and, these are some of them, and cotting...
  12. Re: (Beginner/Intermediate) Tic Tac Toe game issues

    I'm new at java, but you should do what snowguy13 told you, he just wants to help, and you should organize your programm and comment it properly so that anyone who sees the code can understand it...
  13. Replies
    7
    Views
    1,578

    Re: My java program won't add up the numbers?

    You are using too many variables, if u don't need them anymore u can just sum them to fourSavers, and just print.
    Also u are summing sum and fourSavers in system.out.print();
    i've tried it to see...
  14. Replies
    7
    Views
    1,631

    Re: (TOTAL BEGINNER)Stupid problem but still...

    Didn't understand what are u really doing, but try using if() i guess:
    i will write an example:



    int age= 50;

    if(age==50)
    System.out.println("You are 50");
    else
  15. Replies
    12
    Views
    2,862

    Re: Loop Question - Very new beginner

    I'm also a begginer, in my opinion the best way at the start to make loops, is:
    1.use do{...}while();
    2.create a bollean ans use for(int i =0; boolean; i++); when u want to end the loop put...
  16. Replies
    1
    Views
    15,375

    Re: Triangle Printing - Java Program

    I got other version of that program that asks the user the high of the triangle, and the symbol that he/she wants to use to print the triangle, I also wrote a simple menu
    just to show;


    ...
Results 1 to 16 of 17