computer science please help
Attachments:
Answers
Answered by
0
Answer:
A. CLS
PRINT “ENTER THE NO.”
INPUT “No” ; x
PRINT “THESE ARE THE MULTIPLES UPTO 10”
FOR y = 1 TO 10:
PRINT x * y
NEXT y
END
I guess it does the work. You could also modify it to print a certain number of multiples.
B. a = 1;
sum = 0;
while(a <= 1000) {
sum = sum + a;
a = a + 1;
}
echo sum;
Explanation:
please mark me brainliest
Similar questions