Computer Science, asked by donovangazaway98, 5 months ago

4.9 Code Practice: Question 3
Write a program that will add up the series of numbers: 99, 98, 97… 3, 2, 1. The program should print the running total as well as the total at the end. The program should use one for loop, the range() function and one print() command.

Sample Run
99

197

294

390







4940

4944

4947

4949

4950

Answers

Answered by kulkarninishant346
1

Answer:

Given, 3(2p−1)=5−(3p−2)

6p−3=5−3p+2

6p+3p=5+2+3

9p=10

P=

9

10

Hence values of P in given expression is

9

10

Similar questions