"A program is designed to calculate the tax to be paid. The program takes the salary as an input in integer, and return tax value as double. If the salary input is 24.000 JOD then the tax to be paid is zero. The next 5.000 JOD will be taxed at 7%. The next 10.000 JOD will be taxed at 14%. Any further amount will be taxed at 35%".

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter5: Looping
Section: Chapter Questions
Problem 3GZ
icon
Related questions
Question
Read the following and then derive appropriate test cases using equivalence partitioning testing technique.
"A program is designed to calculate the tax to be paid. The program takes the salary as an input in integer, and return
tax value as double. If the salary input is 24.000 JOD then the tax to be paid is zero. The next 5.000 JOD will be taxed at
7%. The next 10.000 JOD will be taxed at 14%. Any further amount will be taxed at 35%".
A- BI
Maximum file size: 10MB, maximum number of files: 1
I!!
Transcribed Image Text:Read the following and then derive appropriate test cases using equivalence partitioning testing technique. "A program is designed to calculate the tax to be paid. The program takes the salary as an input in integer, and return tax value as double. If the salary input is 24.000 JOD then the tax to be paid is zero. The next 5.000 JOD will be taxed at 7%. The next 10.000 JOD will be taxed at 14%. Any further amount will be taxed at 35%". A- BI Maximum file size: 10MB, maximum number of files: 1 I!!
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage