Computer Science, asked by nkarmaker, 2 days ago

write the program in qbasic of- s=x^2+2x^3+3x^4+....+nx^n-1 use for next loop FIRST, FASTEST AND CORRECT BUT DETAILED ANSWER GETS MARKED BRAINLIEST!!!​ I HAVE ONLY TILL MIDNIGHT TILL THE MOON RISES INTO OTS PLACE AND GETS ITS CELESTIAL POWERS.

Answers

Answered by hypergaming7717
0

Answer:

Input: X = 2, N = 5  

Output: Sum = 31  

1 2 4 8 16

Input: X = 1, N = 10  

Output: Sum = 10  

1 1 1 1 1 1 1 1 1 1

Similar questions