/*Series and find sum of 1+3+5+...+n */ #include void main() { int n,i,sum=0; printf("Enter any no: "); scanf("%d",&n); for(i=1; i