jituTechnology

jituTechnology

Uncategorized

Write a program to read N number of person’s ages in an array and print minimum,maximum and average age

/*program to read N number of person’s ages in an array and print minimum,maximum and average. programmed by: Name: JItendra Kumar Yadav Roll: 10116 Dtae 29 th march 2011 */ #include <stdio.h> #include <conio.h> void main () { int i,j,n; int sum=0; int max,min; float avg; int age[100]; printf(“Enter the number of people “); scanf […]

read more

Write the program to print following patterns 2

Programmed by : kiran shrestha Roll no. : 10121 Programmed on : 7th feb, 2011*/ #include <stdio.h> #include <conio.h> void main () {      int i,j,a=0;    for (j=1;j<=5;j++)      {            for (i=1;i<=5;i++)                 {                      if(j==i)                            printf (“%d\t”,a);                      else                            printf (“%d\t”,j);              } […]

read more

Write the program to print following patterns 1 using loops

/*program to print numbers in the following  using loops. Programmed by : kiran shrestha Roll no. : 10121 Programmed on : 7th feb, 2011*/ #include <stdio.h> #include <conio.h> void main () {      int i,j;         for (i=1;i<=5;i++)            {            for (j=1;j<=i;j++)            {                      printf (“%d\t”,i);         }            […]

read more

Write the program to print following patterns

/*program to print numbers in the following  using loops. Programmed by : kiran shrestha Roll no. : 10121 Programmed on : 7th feb, 2011*/ #include <stdio.h> #include <conio.h> void main () {      int i,j;         for (i=1;i<=5;i++)                 {                      for (j=1;j<=i;j++)                            {                                 if(j%i!=0)                                      printf (“%d\t”,0); […]

read more

Write a program to print the numbers in the following format using loops

/*program to print numbers in the following format using loops. Programmed by : kiran shrestha Roll no. : 10121 Programmed on : 7th feb, 2011*/ #include <stdio.h> #include <conio.h> main () {      int i,j;    int a=1;    for (i=1;i<=5;i++)      {            for (j=a;j<=a+2;j++)                 {                      printf (“%d\t”,j); […]

read more


Connect with Me

GPO 8973 NPC 541; Kathmandu Nepal
Phone: +977 9851236800

Calendar

May 2024
S M T W T F S
 1234
567891011
12131415161718
19202122232425
262728293031