I understand that part. Now what if the elements within the array are read in by using a scanner(user input). I can i compare those elements which i do not know or are not fixed.
Type: Posts; User: raidcomputer
I understand that part. Now what if the elements within the array are read in by using a scanner(user input). I can i compare those elements which i do not know or are not fixed.
The order is not important all, Here is what i have tried using but i get an illegal start to expression error
for the if statement... Please help me set something up im really lost...
I need to create a method to check the elements of two arrays and determine if they are equal..
here is what i have revised, im not sor wheather the for loop or the while loop is better to use
the for loop seems to save test scores to array where as while loop just has that sentinal value yo...
What i really need is to create an array to store the test scores but im very new to java and unfamiliar with arrays..
:)]This is what i have im lost on how to keep track of the testscores entered. I also need help creating a method for the average and for printing those scores above average!!!!!!!!:)]
import...
Write a program that reads in a set of test scores, computes their average, and finds out how many scores are above the average. Use a sentinel value of -1 to indicate the end of the set of scores. ...
can you show me an example my professor has not covered that material yet...
Im stuck on how to create methods for the sumofodd/even places method. What i have is below....:-t:-t
import javax.swing.JOptionPane;
import java.util.Scanner;
public class CreditCard{...
2. Write a program to determine whether an input credit number is valid according to the Luhn check. Prompt the user for a credit card number as a long integer and display whether the number is...
I need help creating this program and i am completely new to methods i only know the basic syntax for a method. i want to design a algorithm for my process first and from there hopefully come up with...
Hello everyone, i have a program written for a lotter that ask user to input two digits and determines if it matches two randomly generated computer digits. I need help trying to Generate the first...
=((
Hey everyone below is the code i have and i need help with altering it. First thing is to change the do-while loop to a for loop and let the user enter COMMISSION_SOUGHT instead of fixing it as...
My only problem is i am completely new to programming as a whole, and im still trying to get my feet wet, im not to sure where to start..
(:| Hello everyone,
My names allan i am a beginning java programmer attending school at my home town in Missouri.
I was given an assignment in my intro to java class to create a certain program...