jituTechnology

jituTechnology

C Programming

Write a program to read the radius of a circle and compute its Area and Circumference

[showmyads]/* A program to read the radius of a circle and compute its area and circumference programmed by: Name: Jitendra Kumar Yadav Roll no: 16 Date: 07 jan 2011 */ #include <stdio.h> #include <conio.h> #include <math.h> // to apply the power rule of mathematic void main() { float A,C,r;//Area may be apter decimal because radius […]

read more

Write a C program to read 10 numbers in an array and print in reverse order

//program to read 10 numbers in an array and print in reverse order. #include <stdio.h> #include <conio.h> void main () { int i,j; int a[10]; printf (“Enter 10 number\n”); for (i=0;i<10;i++) { scanf(“%d”,&a[i]); } printf(“The reverse is:\n”); for (j=9;j>=0;j–) printf (“%d\t”,a[j]); getch(); }

read more

Any Character is entered through the keyboard, write a program to determine whether the character entered is capital letter, small letter, a digit or a special symbol using ASCII values and built-in functions

This is the c source code for: Any Character is entered through the keyboard, write a program to determine whether the character entered is capital letter, small letter, a digit or a special symbol using ASCII values and built-in functions The Following table shows the range of ASCII values Characters                          ASCII Values A-Z                                         65-90 a-z                                          […]

read more

A program to swap the content of two integer variable using call by reference.

A program to swap the content of two integer variable using call by reference. Codes /*A program to swap the content of two integer variable using call by reference*/ /*Programed by          Jitendra Kr Yadav                         10116                         2Apr,2011*/ #include<stdio.h> #include<conio.h> void swap(int*, int *); main() { inta,b; printf(“Enter the value of a and b:\n”); scanf(“%d%d”,&a,&b); […]

read more

Write a program to use size of operator to determine the size of different data types.

/*A program to use size of operator to determine the size of different data types programmed by name: Jitendra yadav roll: 16 */ #include <stdio.h> #include <conio.h> void main() { printf(“Integer takes %d bytes of memory in this computer”,sizeof(int)); printf(“\ncharacter takes %d bytes of memory on this computer”,sizeof(char)); printf(“\nFloat takes %d bytes of memory on […]

read more


Connect with Me

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

Calendar

March 2024
S M T W T F S
 12
3456789
10111213141516
17181920212223
24252627282930
31