public class Prices
{
public static void main(String[] args)
{
Okay, now would I use...
int[] list = new int [];
and what wording would I use to list each of the twenty prices? Should I put them in parenthesis? int [] list = {2.34, 7.89, 1.39, 8.99, etc......}?
or is there another way to do it?
Please understand that I am trying to write the code, but if you don't understand how to word it, it's difficult to try.
I think with some guidence I can learn this and get through it.
Mary

New Topic/Question
Reply


MultiQuote






|