Search:

Type: Posts; User: Evilreaper

Search: Search took 0.15 seconds.

  1. [SOLVED] Re: Won't display its Location for Linear Searching.

    Thanks I'll give it a try.
  2. [SOLVED] Re: Won't display its Location for Linear Searching.

    yea the "How do I iterate an ArrayList and find the desired index?"
  3. [SOLVED] Re: Won't display its Location for Linear Searching.

    is there an example of using them the index i mean? Because before I used arraylist i actually use the normal int odd = new int[]; but didn't like putting limit numbers so i switched to arraylist.
  4. [SOLVED] Re: Won't display its Location for Linear Searching.

    because the numbers are being separated with 2 var which is the odd array and even array, to separate the odd and even numbers and I'm trying to search the numbers in the odd array specifically.
    I...
  5. [SOLVED] Re: Won't display its Location for Linear Searching.

    Compatibility with the converted int since int[] and int is not comparable types so i made it an array for it to be equal
    and the number that its trying to search which is 31.

    if...
  6. [SOLVED] Won't display its Location for Linear Searching.

    So Im trying to display the location for the odd number which is 31. But it won't display the location of it.
    as you see in the code. Im using bluej there's no error in compiling it's just i feel...
  7. [SOLVED] Re: It won't display the invalid selection part

    System.out.print('\u000C'); umm the code is just part of the coding inside Bluej that allows the user to clearscreen. I read it online here.

    Bluej for ICSE Schools: Clearing the terminal
  8. [SOLVED] Re: It won't display the invalid selection part

    ah i see that's what i did wrong... no wonder it wont run as i wanted it to be.. thx for help.~ i had 2 pick var... it works fine now. thanks again.
  9. [SOLVED] Re: It won't display the invalid selection part

    Sorry norm get rid of the System.out.print('\u000C');
    Im using BlueJ

    here..
    1955
  10. [SOLVED] It won't display the invalid selection part

    Hello I have a problem in my coding. This coding is a Quiz Game creator. Lets say I want to create 3 question in this game.
    and when the game starts.. it will display the 3 question.

    So at that...
  11. Replies
    2
    Views
    180

    Re: Var Might have been initialize

    Thanks it helped even though i wasn't taught on how to use it~ decided to lurk around on what u meant.
  12. Replies
    2
    Views
    180

    Var Might have been initialize

    Hello, Soo my java coding has this 2 ways of paymentterm that is cash and credit.
    the problem is the category of the File that is being read would be on the Payment Term.
    and the payment term...
  13. Replies
    9
    Views
    294

    Re: Cannot find symbol writefile

    Oh thank you so much I found the problem it was a careless mistake of lowercase and uppercase sensitivity.
  14. Replies
    9
    Views
    294

    Re: Cannot find symbol writefile

    Scanner readFile = new Scanner(new FileReader("C:\\Users\\user\\Documents\\DIT MKJB\\Programming Java\\customer.txt"));

    PrintWriter writefile = new...
  15. Replies
    9
    Views
    294

    Re: Cannot find symbol writefile

    while(readFile.hasNext())
    {
    ReceiptNo = readFile.nextDouble();
    PaymentTerm = readFile.next();
    CustomerName = readFile.next();
    ItemNo = readFile.next();
    ItemName =...
  16. Replies
    9
    Views
    294

    Re: Cannot find symbol writefile

    Cannot Find Symbol - Variable writeFile

    And also I took a print screen just in case.
  17. Replies
    9
    Views
    294

    Cannot find symbol writefile

    import java.util.*;
    import java.io.*;
    import java.util.Arrays;
    public class Assignment2
    {
    public static void main(String[]args ) throws FileNotFoundException
    {
    String[] A= {"Aaron...
Results 1 to 17 of 17