You are on page 1of 1

Begin

Input n,a,b,S;

If n<8 then

Display S=a*n;

Else

If n>8 then

b= a+((10000*30)/100)

Display S=a+b;

End

You might also like