Professional Documents
Culture Documents
Q1. Draw Flowchart For Following:: Read N
Q1. Draw Flowchart For Following:: Read N
Q1. Draw Flowchart For Following:: Read N
n
1.
a
i=1
Read n sum=0
i:=1 to n step 1
sum=sum+i
Print sum
i:=1 to n step 1
Read num
total=total+num
Read n sum=0
H=n/sum Print H
Q4. s=1+2+3+..+n
Read n s=0
Print s
Q5. s=1+3+5+.+n
Read n s=0
Print s
Q6 s=2+4+6++n
Read n s=0
Print s
Q7 s=1+1/2+1/3+1/4+.+1/n
Read n s=1
i:=2 to n step 1
s=s+(1/i)
Print s
Int I, J, T
a[j If ]> a [j ] +1
TRUE
Print a[1]
10