Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Develop Psudocode - Programming Logic and Design / Modules, Case structures, and

ID: 3602606 • Letter: D

Question

Develop Psudocode - Programming Logic and Design/Modules, Case structures, and Logical Operators.

Step 2 # Develop the Pseudocode

Question: design the logic for a program that calculates the service charge customers owe for writing a bad check. The main program should contain three modules.

The service charge is computed as $20 basic fee plus 2 percent of the check amount.
  
Displays the total charge the user will pay for writing a bad check.

EX:

odd Cust nom Stork sling Cuet nome,dould- Balon AMCL

Explanation / Answer

start

Declare custName,balance,checkAmount As Variables

print "Enter your name"

input name

print "Enter balance"

input balance

print "Enter check amount"

input checkAmount

if(checkAmount > balance) Then{

print "Bad Check:Service charge is $", 20 + .02*checkAmount

}

else

{

print "Not a bad check: Service charge is 0"

}

stop

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote