Write a MATLAB program in a script file that finds a positive integer n such that the

Question:

Write a MATLAB program in a script file that finds a positive integer n such that the sum of all the integers 1 + 2 + 3 + ... + n is a number between 100 and 1000 whose three digits are identical. As output, the program displays the integer n and the corresponding sum.
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: