Radical Developers welcomes all the visitors to be a member of the team. Come join us. Its all about open-source concept.
All Programs are written and tested in MacOS X, Unix, Linux and may not match with the outputs of Turbo C++ in Windows
Pages
Updates
About Us
Showing posts with label
Series/Pattern (C)
.
Show all posts
Showing posts with label
Series/Pattern (C)
.
Show all posts
Sunday, January 9, 2011
Write a program to print the following series :
/*
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
*/
Source Code :
Read more »
Write a program to print the following series :
/*
*
* *
* * *
* * * *
*/
Source Code :
Read more »
Write a program to print the following series :
/*
1
2 3
4 5 6
7 8 9 10
*/
Source Code :
#include<stdio.h>
void main()
{
Read more »
Write a program to print the following series :
/*
0
1 0
0 1 0
1 0 1 0
*/
Source Code :
#include<stdio.h>
void main()
{
int n,i,j=1,p;
Read more »
1+x+(x2/2!)+(x3/3!)+………………………………………+(x^n/n!) Write a program to show the sum of he series when x & n is input through the keyboard.
Source Code :
#include<stdio.h>
#include<math.h>
void main()
{
int x,n,i,j,fact;
float sum=1;
clrscr();
Read more »
1+x+x2+x3+…………………………………………+x^n Write a program to show the sum of the series when x & n is input through the keyboard.
Source Code :
#include<stdio.h>
#include<math.h>
void main()
{
int x,n,i,j;
float sum=1;
clrscr();
Read more »
Write a program to add first seven terms of the following series using For-Loop : (1/1!)+(2/2!)+(3/3!)+…………
Source Code :
#include<stdio.h>
void main()
{
int i,j,n;
//Declaration of variables
long float fact=1,sum=0,div; //Declaration of variables
clrscr();
for(i=1;i<=7;i++)
//For Loop for calculating Sum
Read more »
Older Posts
Home
Subscribe to:
Posts (Atom)