Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i need helping answering these questions based on my java code Language : JAVA i have completed #2. need help 4 - 6. import java.util.Scanner

i need helping answering these questions based on my java code
Language : JAVA
image text in transcribed
i have completed #2. need help 4 - 6. image text in transcribed
image text in transcribed
import java.util.Scanner public class IPad calc public static void main String argsll) int i int ardl- new int[5); double amountll-new double[5] Scanner scan new Scanner(System.in); System.out.print!"Enter number of students in class"+ (i+1t" amountl-arrlij 900+arril 900*6.5/100; for(i-0jc5;i++) arrli)- scan.nextlnt(): System.out.println(" Amount for class"+(i+1)+: tamount[ill: Provide three test cases based on the functionality of your code code and their functionality. Provide at least 5 test code keywords and description of their intended function. You are in charge of the school's IT department and several classes are asking to by iPads for use in their classes. Based on the number total costs for each classroom. The only information tai is 6.5% and there is a total of 5 classrooms. of iPads each class requested, determine the d costs $900, sales given is that the iPa 2. Create a flow chart based on the pseudocode you wrote for question 1. (10 points) 3. From the flow chart in question 2, create test code. As far as the test code, I will not be concerned with whether it will compile and run. I will be looking for the order of operation and correct use of brackets and semi-colons. (10 points) 4. Provide three test cases based on the functionality of your code. You should use the examples of test cases we went over in class as reference. (10 points) 5. Name the types of test code and their functionality. (10 points) 6. Provide at least 5 test code keywords and description of their intended function. (10 points) import java.util.Scanner public class IPad calc public static void main String argsll) int i int ardl- new int[5); double amountll-new double[5] Scanner scan new Scanner(System.in); System.out.print!"Enter number of students in class"+ (i+1t" amountl-arrlij 900+arril 900*6.5/100; for(i-0jc5;i++) arrli)- scan.nextlnt(): System.out.println(" Amount for class"+(i+1)+: tamount[ill: Provide three test cases based on the functionality of your code code and their functionality. Provide at least 5 test code keywords and description of their intended function. You are in charge of the school's IT department and several classes are asking to by iPads for use in their classes. Based on the number total costs for each classroom. The only information tai is 6.5% and there is a total of 5 classrooms. of iPads each class requested, determine the d costs $900, sales given is that the iPa 2. Create a flow chart based on the pseudocode you wrote for question 1. (10 points) 3. From the flow chart in question 2, create test code. As far as the test code, I will not be concerned with whether it will compile and run. I will be looking for the order of operation and correct use of brackets and semi-colons. (10 points) 4. Provide three test cases based on the functionality of your code. You should use the examples of test cases we went over in class as reference. (10 points) 5. Name the types of test code and their functionality. (10 points) 6. Provide at least 5 test code keywords and description of their intended function. (10 points)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learn To Program Databases With Visual Basic 6

Authors: John Smiley

1st Edition

1902745035, 978-1902745039

More Books

Students also viewed these Databases questions

Question

Does it use a maximum of two typefaces or fonts?

Answered: 1 week ago