Monday, October 14, 2019

To display the products of digits

                               WAP to display the products of digits 
CLS
INPUT"Enter any number";N
P=1
WHILE N< >0
R=N MOD 10
P= P*R
N=N\10
PRINT"Product of digits";P
END

No comments:

Post a Comment

              5  days and 4 night Educational Tour We travel not to escape life but for life not to escape us . O ur school organized educ...