Computer Science, asked by kritika0731, 3 months ago

10. Learn the given program and choose the correct output of it.
CLS
INPUT "Enter a word: "w$
FOR I = 1 TO LEN(W$)
b$=UCASE$(MID$(W$,1,1))
IF b$="P" THEN C=C+1
NEXT
PRINT C
END
a. What will be output when user will supply 'apple'.​

Answers

Answered by Anonymous
0

Answer:

CLS

INPUT "Enter two number"; a, b

IF a > b THEN

PRINT a; "is greatest number"

PRINT b; "is lowest number"

ELSE

PRINT b; "is greatest number"

PRINT a; "is lowest number"

END IF

END

Similar questions