-->
Way of C Learning - CPU(2110003)
Facebook
Jasper Roberts
-
Blog
Pages
Home
CPU Syllabus
CPU Theory
CPU Assignments
CPU Experiments
CPU Tutorials
CPU Papers
CPU Books
About Author
Monday, October 13, 2014
Write a C Program to draw following patter-4.
/*
1
10
101
1010
10101
*/
#include<conio.h>
#include<stdio.h>
void main()
{
int i,j;
clrscr();
for(i=1;i<=5;i++)
{
for(j=1;j<=5;j++);
{
***READ MORE***»
Write a C Program to draw following patter-3.
/*
1
22
333
4444
55555
*/
#include<conio.h>
#include<stdio.h>
void main()
{
int i,j;
clrscr();
for(i=1;i<=5;i++)
{
for(j=1;j<=5;j++);
{
printf(“%d”,i);
***READ MORE***»
Write a C Program to draw following patter-2.
/*
1
12
123
1234
12345
*/
#include<conio.h>
#include<stdio.h>
void main()
{
int i,j;
clrscr();
for(i=1;i<=5;i++)
{
for(j=1;j<=5;j++);
***READ MORE***»
Write a C Program to draw following patter -1
/*
*
**
***
****
*****
*/
#include<conio.h>
#include<stdio.h>
void main()
{
int i,j;
clrscr();
for(i=1;i<=5;i++)
{
for(j=1;j<=5;j++);
{
***READ MORE***»
WRITE A C PROGRAM TO CALCULATE SUM OF N NUMBERS.
#include<stdio.h>
#include<conio.h>
void main()
{
int i=1,sum=0,no;
clrscr();
printf(“Enter the number:”);
scanf(“%d”,&no);
while(i<=no)
{
***READ MORE***»
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)