Step1: start
Step2: initialize binom =1, f=0
Step3: check the condition f<p
Step4: for r=40-3*f;r>0; --r
Step5: print" "
Step6: for x=0; x<f; ++x
Step7: if x == 0 or f==0
Binom = 1
Step8: else
Binom=(bimom*(f-x+1)/x
Printf binom
Step9: stop
Program:
Binom = 1
Binom=(bimom*(f-x+1)/x
Printf binom
Else
Goto 5
4.1 printf "Month of sales is : 02/87”
4.2 printf "Price is : 75,000"
5.1 print "Month of sales is : 07/87 "
5.2 print "Price is : 95,000”
6.1 print "Month of sales is : 04/88 "
6.2 print " Price is : 1,10,000"
7.2 print " Price is : 85,000"
Step1: Start
Step2: Read the value of x.
Step3: if (x>0) y-1 else if (x=0) y=0 else x<0) y=-1
Step4: Print y
Step5: Stop.
Step1: Start
Step2: Read the values of x,y and a.
Step3: p=2.5*log(x)+ cos(a*3.14/180)+sqrt(2*x*y)+(x*x-y*y)
Step4: Print p
Step5: Stop.