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
Hindi,
2 months ago
Social Sciences,
2 months ago
Environmental Sciences,
5 months ago
Math,
11 months ago
Math,
11 months ago
English,
11 months ago