429,589 Members | 1,209 Online
Need help? Post your question and get tips & solutions from a community of 429,589 IT Pros & Developers. It's quick & easy.

# Please Give Me Coding Of Following Prog...

 P: 1 HI every body I need following programs for java .........please urgent i m biggner so help me................but urgent Problem # 1 An integer is said to be prime if it is divisible only by 1 and itself. Write a method that determines whether a number is prime. Use this method is an applet that determines and prints all the prime numbers less than 10,000 Problem # 2 Write a method isEven that uses the remainder operator (%) to determine whether an integer is even. The methods should take an integer argument and return true if the integer is even and false otherwise. Incorporate this method into an applet that inputs a sequence of integers (one at a time using JTextField) Problem # 3 Write a program that will read a sequence of positive real numbers entered by the user and will print the same numbers in sorted order from smallest to largest. The user will input a zero to mark the end of the input. Assume that at most 100 positive numbers will be entered. Problem # 4 Use a one-dimensional array to solve the following problem : Write an applet that inputs 5 numbers, each of which is between 10 and 100, inclusive. As each number is read, display it only if it is not a duplicate of a number already read. Display result in JTextArea. Mar 22 '07 #1