jituTechnology

jituTechnology

>2.1: Write a complete program with definitions of the class Rational with its method defined inside

>/*Write a complete program with definitions of the class Rational with its method defined inside Programmed by: Name: Jitendra Kumar Yadav Roll no.: 10116 Programmed on: 17th july,2011*/ #include <iostream.h> #include <conio.h> class Rational { private: int n; int d; public: void show() { cout << n<<“/”<<d<<endl; } void assign(int a,int b) { n= a; […]

read more

>Windows 7

>Microsoft has been working on the much anticipated Windows 7 and the RC (Release Candidate) build is finally out. The initial reaction from online communities so far has been a lot better than it was for Vista. This OS is superior to XP and Vista in many ways. Vista wasn’t popular mainly because of the […]

read more

>Write a Program using structure to create a database for a hospital giving details about the patient admitted.

>/*Write a Program using structure to create a database for a hospital giving details about the patient admitted. Programmed By: Name: Jitendra Kr Yadav Roll: 10116(NCIT-ELX) Date: 15 July 2011 */ #include <iostream.h> #include <conio.h> struct patient { char name[30]; int age; intbn; charnoi[30]; char gender[30]; intwn; struct dob { int day; int month; int […]

read more

>Write a program to calculate the volume converts each dimension from a distance variable to a variable of type float representing feet and fraction of a foot and then multiply the

>/*create a structure called volume that uses three variables of type distance to model the volume of room. Initialize a variable of type volume of room. Initialize a variable of type volume to specify dimensions, then calculate the volume it represents and printout the results. To calculate the volume converts each dimension from a distance […]

read more

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

read more