TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Md Nayeem
NA
75
23.8k
is the program valid or not? I am confused.
Sep 23 2017 6:05 PM
// 1^2+2^2+3^2+.......+n^2?
#include
int
main()
{
int
i,n,result=0;
printf(
"Enter n="
);
scanf(
"%d"
,&n);
for
(i=1;i<=n;i++)
{
printf(
"%d"
,i);
result=result+i*i;
}
printf(
"\nResult=%d\n"
,result);
getch();
}
Reply
Answers (
1
)
packet moditification for specific url/ domain interception
I am new in C programming language .so i am confused how can