Home
Ask your doubt
stack overflow
reddit
quora
codeproject
popular ide
code block
atom
visual studio
sublime text
about
Home
» » Sum of Series||C language||programming_info ||Series problem 6
Sum of Series||C language||programming_info ||Series problem 6
demi_human
July 15, 2020
No comments
C Program to calculate
(1*1)+(2*2)+(3*3)+.....(n*n)
Solution using C language:
#include<stdio.h>
#include<conio.h>
void main()
{
int i,n,sum=0;
clrscr();
n=10;
for(i=1;i<=n;i++)
{
sum+=i*i;
}
printf("Sum: %d",sum);
getch();
}
Output:
sum:385
Share:
Email This
BlogThis!
Share to X
Share to Facebook
Share to Pinterest
← Newer Post
Older Post →
Home
No comments:
Post a Comment
Translate
Recommended platforms
codechef
hackerrank
codeforces
leetcode
hackerearth
Popular
Tags
Blog Archives
About Me
demi_human
View my complete profile
Report Abuse
Popular Posts
Friendship Test |Programming_info || python_problem_16
Michael is celebrating his 10 th birthday and he wished to arrange a party to all his class mates. But there are n tough guys amongs...
Welcome Party |Programming_info || python_problem_15
New Year is shortly arriving and the students of St. Philip’s College of Business are eager to receive the freshers for the coming year. T...
Hanging Bridge |Programming_info || python_problem_11
At the annual "KrackerJack Karnival", there was a newest attraction ever in the City, the "Hanging Bridge". Visitors w...
programming_info. Powered by
Blogger
.
Blog Archive
►
2021
(21)
►
May
(21)
▼
2020
(113)
►
August
(3)
▼
July
(110)
Enormous Input Test||codechef||beginner solution |...
Turbo Sort||codechef||beginner solution ||programm...
Small factorials||codechef||beginner solution ||pr...
Day 9: factorial 3|| hackerrank || 30 days of code...
Easy Math||codechef||beginner solution ||programmi...
Sum of Series||C language||programming_info ||Seri...
Weird Walk||codechef||beginner solution ||programm...
Day 7: array|| hackerrank || 30 days of code || pr...
Chef and Strings|| codechef ||beginner solution||p...
Series |C language||programming_info ||Series prob...
The Smallest Pair ||codechef||beginner solution ||...
Sum of Series||C++ language||programming_info ||Se...
Sum of Series||C language||programming_info ||Seri...
Sum of Series||C language||programming_info ||Seri...
Sum of Series||C language||programming_info ||Seri...
Sum of Series||C language||programming_info ||Seri...
Sum of Series||C language||programming_info ||Seri...
Sum of Series||C language||programming_info ||Seri...
Sum of Series||C language||programming_info ||Seri...
Sum of Series||C language||programming_info ||Seri...
Sum of Series||C language||programming_info ||Seri...
Day 6: Let's Review|| hackerrank || 30 days of cod...
Sum of Series||C language||programming_info ||Seri...
Sum of Series||C language||programming_info ||Seri...
Sum of Series||C language||programming_info ||Seri...
Fibonacci Series||C language||programming_info ||S...
GCD and LCM||codechef||beginner solution ||program...
Day 5: Loops|| hackerrank || 30 days of code || pr...
Chef and Price Control||codechef||beginner solutio...
How much Scholarship ||codechef||beginner solution...
Average Number ||codechef||beginner solution ||pro...
Is it a VOWEL or CONSONANT||codechef||beginner sol...
Area OR Perimeter||codechef||beginner solution ||p...
Two vs Ten
Rectangle ||codechef||beginner solution ||programm...
Grade The Steel||codechef||beginner solution ||pro...
Puppy and Sum||codechef||beginner solution ||progr...
Sum OR Difference||codechef||beginner solution ||p...
Decrement OR Increment||codechef||beginner solutio...
Chef And Operators||codechef||beginner solution ||...
Chef and Remissness||codechef||beginner solution |...
Helping Chef||codechef||beginner solution ||progra...
Small Factorial||codechef||beginner solution ||pro...
Second Largest ||codechef||beginner solution ||pro...
Finding Square Roots ||codechef||beginner solution...
Reverse The Number ||codechef||beginner solution |...
Lucky Four ||codechef||beginner solution ||program...
First and Last Digit||codechef||beginner solution ...
Find Remainder ||codechef||beginner solution ||pro...
Sum of Digits ||codechef||beginner solution ||prog...
Printing Tokens||| hackerrank || C language || pro...
Number Mirror ||codechef||beginner solution ||prog...
Add Two Numbers ||codechef||beginner solution ||pr...
Boxes through a Tunnel ||| hackerrank || C languag...
ATM ||codechef||beginner solution ||programming info
Students Marks Sum|||| hackerrank || C language ||...
Java String Reverse|||| hackerrank || Java languag...
Calculate the Nth term|||| hackerrank || C languag...
Array Reversal|||| hackerrank || C language || pro...
Java Loops I|||| hackerrank || Java language || pr...
1D Arrays in C|||| hackerrank || C language || pro...
Printing Pattern using Loops|||| hackerrank || C l...
Sum of Digits of a Five Digit Number|||| hackerran...
Java If-Else|||| hackerrank || Java language || pr...
For Loop in C|||| hackerrank || C language || prog...
Java Stdin and Stdout I |||| hackerrank || Java la...
Conditional Statements in C|||| hackerrank || C la...
Pointers in C|||| hackerrank || C language || prog...
Welcome to Java! |||| hackerrank || Java language...
Functions in C |||| hackerrank || C language || pr...
Sum and Difference of Two Numbers|||| hackerrank |...
Day 4: Class vs. Instance|| hackerrank || 30 days ...
Arrays Introduction |||| hackerrank || C++ languag...
Pointer |||| hackerrank || C++ language || program...
Playing With Characters|||| hackerrank || C langua...
Functions|||| hackerrank || C++ language || progra...
For Loop|||| hackerrank || C++ language || program...
Conditional Statements|||| hackerrank || C++ langu...
Basic Data Types |||| hackerrank || C++ language |...
Input and Output |||| hackerrank || C++ language |...
Day 3: Intro to Conditional Statements|| hackerran...
Day 2: Operators|| hackerrank || 30 days of cod ||...
Day 1: Data Types|| hackerrank || 30 days of code ...
Day 0: Hello, World.|| hackerrank || 30 days of co...
Day 0: Data Types(2) || hackerrank || 10 days of j...
Day 0: Hello, World! || hackerrank || 10 days of j...
Happy Number solution using c language--programmin...
Niven Number solution using c language--programmi...
Neon Number solution using c language--programmin...
Automorphic Number solution using c language--pro...
Composite Number solution using c language--progra...
Prime Number solution using c language--programmin...
Armstrong Number solution using c language program...
Palindrome Number solution using c language progra...
Swastika pattern solution using c language--progra...
Pattern solution using c language--programming_inf...
pattern solution using c language--programming_inf...
pattern solution using c language--programming_inf...
Program to calculate the determinant of 3×3 matrix...
Program to find Largest and Smallest number in arr...
Program to reverse the array solution using c lang...
Program to insert an element in array solution usi...
Program to sort array using Insertion sort solutio...
Binary Search solution using c language--programmi...
Multiplication of two Matrices solution using c la...
Goldbach's Conjecture solution using c language --...
Numerical Spiral Pattern solution using c languag...
Program to sort array using Selection Sort solutio...
Program to sort array using Bubble Sort solution u...
Program for infix to postfix conversion solution u...
Recent Posts
other platforms
geeks for geeks
w3schools
codepen
skillshare
udemy
Pages
reader support Support
No comments:
Post a Comment