Write a C program to calculate sum of series. 1+2+....+n
What is sum of series program?
The n-th partial sum of a series is the sum of the first n terms. The sequence of partial sums of a series sometimes tends to a real limit. If this happens, we say that this limit is the sum …Read More
Write a C program to create a Pyramid or Pettern.
C program to create a Pyramid or Pettern.
source code:
#include<stdio.h>
void main()
{
int i, j, k, rows;
printf("Enter number of rows : ");
scanf("%d", &rows);
for ( i = 0; i < rows; i++ )
{
//…Read More
0 comments:
Post a Comment