Get link Facebook X Pinterest Email Other Apps October 13, 2019 Sum of digits CLSINPUT "Enter any number"; NS = 0WHILE N<> 0R = N MOD 10S = S+RN = N\10WENDPRINT "Sum of digits="; SEND Get link Facebook X Pinterest Email Other Apps Comments
October 13, 2019 Area of rectangle CLS INPUT "Enter the length"; L INPUT "Enter the breadth"; B A = L*B PRINT "Area of rectangle="; A END Read more
October 13, 2019 1, 1, 2, 3, 5,……..up to 10 th term CLS A = 1 B = 1 FOR I = 1 TO 10 PRINT A C = A + B A = B B = C NEXT I END Read more
October 13, 2019 1, 4, 9, 16,……..up to 10 th term CLS FOR I = 1 TO 10 PRINT I ^ 2 NEXT I END Read more
Comments
Post a Comment