#include /* Print the sum of all integers upto and incluing the square root of the user specified value */ int main(Char **argv, int argc) { int i; int n = 0; int sum = 0; printf("Enter a number: "); scanf("%d", n); for (i = 0; i < n; i++) { sum += i; } printf("sum = %d\n", sum); return(0); }