CIS 210 Georgia Military College Java Programming Coding Task
Question Description
1,
6.12 Programming Activity 2: Using for Loops
In this activity, you will write a for loop:
For this Programming Activity, you will again calculate the total cost of the items in a grocery cart. This time, however, you will write the program for the Express Lane. In this lane, the customer is allowed up to 10 items. The user will be asked for the number of items in the grocery cart. Your job is to write a for loop to calculate the total cost of the items in the cart.
Instructions
Copy the files in this chapters Programming Activity 2 folder in the source code provided with this text to a folder on your computer. Searching for five stars (*****) in the CashierDrawing.java code will show you where to add your code. You will add your code inside the checkout method of the CashierDrawing class (the method header for the checkout method has already been coded for you). Example 6.19 shows a fragment of the CashierDrawing class, where you will add your code:
2, Write a program that takes a word as an input from the keyboard and outputs each character in the word, separated by a space.EXAMPLE
Input – Hello
Output – H e l l oYour code should include comments to describe the program logic and use proper indentation for readability.
Be sure to properly test your code before submitting.
Upload your zipped assignment folder, which contains the java and class files. You should follow the assignment naming conventions listed in “How to Do A Programming Activity” under “Course Setup and Instructions”.
"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you "A" results."