Testing Interview Questions

4,198 testing interview questions shared by candidates

Write a program to calculate the penalty for n users where a. There are n users, the value of n is entered by the user at runtime b. For n users, there are n consumptions entered by user at runtime c. Total consumption must be broken into parts so that he can have a minimum penalty. d. If remained consumption is more than 5000, print the user as Invalid User note: penalties were given
avatar

Testing Security Assistant

Interviewed at Oxybills

4.2
Jan 4, 2022

Write a program to calculate the penalty for n users where a. There are n users, the value of n is entered by the user at runtime b. For n users, there are n consumptions entered by user at runtime c. Total consumption must be broken into parts so that he can have a minimum penalty. d. If remained consumption is more than 5000, print the user as Invalid User note: penalties were given

Viewing 111 - 120 interview questions

Glassdoor has 4,198 interview questions and reports from Testing interviews. Prepare for your interview. Get hired. Love your job.