used-vending-machine Free supportive info on Machine Nos

Your quest for information about Machine Nos has already ended because you are now reading this article. Goodbye to those days of never ending search for information about Machine Nos. You can survive even without this article because of the search engines that the internet provides you. You can just log on and search for any kind of information about the Machine Nos.

How to get the Highest Frequency?
Hello i’m working on my machine problem, can you help me what wrong with my code? I need to get the Highest Frequency. import java.util.Scanner;public class GetHighestFrequency { public static void main(String[] args) { int [] Machine Nos xNos = new int [10]; int xInput = 0; int xHighest= 0; Scanner input = new Scanner(System.in); for (int ctr=0; ctr<10; ctr++){ System.out.printf("Enter Nos - >“); xNos[ctr] = input.nextInt(); } for (int ctr=0; ctr<1; ctr++ ){ if (xHighest == xNos[ctr]){ xHighest = xInput; } System.out.printf("\nThe Highest Frequency is %d", xHighest, xInput ); } }}thankswhen i'm going to input a numbers, the highest frequency is always 0.
Powered by Yahoo! Answers

Machine Nos


used-vending-machine Free supportive info on Machine Nos