jituTechnology

jituTechnology

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 program to find the area of cube, cylinder and rectangle using the concept of function overloading

>/* Write a program to find the area of cube, cylinder and rectangle using the concept of function overloading Programmed by: Name: Jitendra Kr Yadav Roll: 10116 (NCIT-ELX) Date: 12 july 2011 */ #include <iostream.h> #include <conio.h> inlineint area(int a) { return(6*a*a); } inline float area(float a, float b) { return(3.14*a*(a+b)); } inlineint area(int a, […]

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

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

>4.1 Write a program to swap the private data of two classes using friend function.

> /*Write a program to swap the private data of two classes using friend function. Programmed by: KiranShrestha Roll No.: 10121 Programmed on: 31st July, 2011*/ #include <iostream.h> #include <conio.h> class b; class a { int x; public: void assign(int t) { x =t; } void display() { cout<<“value of x is: “<<x<<endl; } friend […]

read more


Connect with Me

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

Calendar

June 2019
S M T W T F S
« Jun    
 1
2345678
9101112131415
16171819202122
23242526272829
30