5. Write down the output of below program:
DECLARE FUNCTION count !(sts)
CLS
St$="COMPUTER"
Tot=count(st$)
Print Tot
END
FUNCTION count (st$)
C=1
DOWHILE c<=LEN(st)
ac=ASC(MIDS(st$,C,1))
S=S+ac
C=C+1
LOOP
Count=s
END FUNCTION
Answers
Answered by
0
Answer:
write down the computer total amount in function countdown while if such as group loop count in points in computer below program declare function count as well computer Tote counter print total end function count and the total one into that the point Gate be finished
Answered by
1
Answer:
print tot
End
Function count
End function
Hope this are right
Similar questions
Computer Science,
1 month ago
English,
3 months ago
Political Science,
3 months ago
Hindi,
10 months ago
Science,
10 months ago