Search:

Type: Posts; User: architmathur

Search: Search took 0.08 seconds.

  1. Replies
    8
    Views
    2,967

    Re: occurrence of int in array..

    I'm getting the following output:

    Enter the integers between 1 and 100
    2 3 5 6 2 4 3 8 6 2 0
    2 occurs 0 times
    3 occurs 0 times
    5 occurs 0 times
    6 occurs 0 times
    2 occurs 0 times
    4...
  2. Replies
    8
    Views
    2,967

    Re: occurrence of int in array..

    My output should be like you see in the first post ....
    i just need the code to get above output..
  3. Replies
    8
    Views
    2,967

    Re: occurrence of int in array..

    This is the following code i have written.. i am bit new to programming so please help me out.

    public static void main(String[] args) {
    Scanner input = new Scanner(System.in);
    ...
  4. Replies
    8
    Views
    2,967

    occurrence of int in array..

    Can i have code for the given problem please......

    (Count occurrence of numbers) Write a program that reads the integers between 1
    and 100 and counts the occurrences of each. Assume the input...
Results 1 to 4 of 4