Write a c program to find the sum of numbers between given limits?

1 answer

Answer

1126609

2026-05-08 15:56

+ Follow

int sum (int min, int max) {
return (max-min+1)*(max+min)/2;

}

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.