jituTechnology

>Write a Program that uses a structure to store the three parts of a phone number separately, call the structure phone

>/* A phone no., such as (212) 767-8900 can be thought of as having three parts: the area code (212), the exchange (767), and the number (8900).Write a Program that uses a structure to store the three parts of a phone number separately, call the structure phone. Create two structure variable of type phone. Initialize […]

>Write a program to find the volume of 3 objects; namely cube, cylinder and rectangular box using the same function name, volume().

>/* Write a program to find the volume of 3 objects; namely cube, cylinder and rectangular box using the same function name, volume(). programmed by: Name: Jitendra Kr Yadav Roll: 10116(NCIT-ELX) date: July 12, 2011 */ #include <iostream.h> #include <conio.h> inlineint volume(int a) {      return(a*a*a); } inline float volume(int a, int b) {      […]

>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, […]

Connect with Me

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