can someone help me put these codes into a program? I missed a couple of classes and I don't know where to begin, if someone could start me off.
1. for (int count = 0; count < nums.length; count++)
nums[count] = INITIAL;
2.for (int count = names.length - 1; count >= 0; count--)
3.for (int index = 0; index < flags.length; index++)
flags[index] = (index%2 == 0);
4.public static float sumArray (float nums)
float sum = 0;
for (int count = 0; count < nums.length; count++)
sum += nums[count];
Java application which prompts user for shopping items (Fixed set of items with pre-defined price). As soon as user enters the item code, applications checks from the catalogue whether item exists if yes then user is again prompted for shopping. It shall work like as shown below. If there are items with more than 1 quantity, please display a single entry with quantity and total price.
and we wish you much luck creating this program vunny!