#include<stdio.h> int main(void) { int m,n,i; double y; y=0; printf("Entern,m:"); scanf("%d%d",&m,&n); for(i=m;i<=n;i++) y=y+(i*i+1.0/i); printf("y=%Lf ",y); }