00:01
Hello students, in this session we have to design a pseudocode of modular program.
00:07
So, we will start here.
00:09
First, step one, function two, calculate county sale tax.
00:22
So, we will create here function tax total sale, count county tax rate, county tax rate equals to 0 .02.
01:08
Now, county tax equals to total sale plus multiply county tax rate.
01:36
Next, return county tax.
01:51
Next, function to create, calculate state sale tax.
01:58
Next, we will create the sale tax.
02:03
State sale tax function, state tax total sale, state tax, state sale, tax equals to 0 .04.
02:31
State tax equals to total sale, multiply by state sale tax.
02:45
Next, this is state rate.
02:54
Now, return state tax.
03:04
Next, function we will create a function to calculate total sales tax.
03:11
Function, total tax, total sale tax, total sale, county tax rate equals to 0 .12.
03:37
This is one is tax.
03:42
Total sale, we will pass here.
03:48
Total sale and state tax, state tax equals to total state tax, state tax, total sale.
04:09
Now, total sale tax, total sale tax equals to, this is total sale tax, county tax.
04:35
Here will be county tax plus state tax.
04:47
Next, we will create, return total sale tax.
04:52
Return total sale tax.
05:01
Now, we will create the main function...