Design and develop program to find the smallest integer n such that 1+2+3+…+n is equal to or just greater than 100
Answers
Answered by
0
Answer:
n=6
Explanation:
ANSWER
We will solve this by using options
Let's take option A ,
For n=4, 1−32−322−332=275<1001
Option B,
For n=5,1−32−322−332−342=8113<1001
Option C,
For n=6,1−32−322−332−342−352=2431<100
Similar questions