Answer:
This program is written in python;
Comments are used for explanatory purpose;
Take note of indentations (See picure attachment)
Program starts here
#Initialize Sum to 0
sum = 0
#Iterate from 99 to 1 using range function
#The iterating variable i starts from 99 and ends at 1 with a difference of -1
for i in range(99, 1, -1):
sum+=i
#Display Result
print("Expected Output: ",sum)
#End of Program