3 views

Uploaded by sakharam_gawade

save

- exp1_2(OOP)
- EXP3_4
- EXP4_3
- EXP4_2
- EXP3_3
- exp1_4(OOP)
- EXP3_1
- EXP4_1
- EXP3_2
- EXP5_3
- exp1_3(OOP)
- EXP5_1
- EXP4_4
- EXP5_2
- EXP8_2
- EXP7_4
- EXP6_1
- EXP7_2
- Exp 10
- EXP12
- EXP6_2
- EXP5_5
- exp13
- EXP6_3
- EXP7_1
- EXP7_3
- EXP8_1
- EXP11
- dt manual (13)
- Exp 10
- About Blank
- dt manual (6)
- EXP12
- dt manual (10)
- exp13
- dt manual (12)
- dt manual (11)
- dt manual (7)
- dt manual (9)
- dt manual (14)
- dt manual (8)
- Aritificial Intelligence EXP1
- EXP11
- OOP ch1 (4)
- OOP ch1 (5)
- dt manual (4)
- OOP ch1 (10)
- OOP ch1 (8)
- dt manual (3)
- OOP ch1 (3)
- dt manual (2)
- dt manual (5)
- OOP ch1 (11)
- OOP ch1 (9)
- OOP ch1 (7)
- dt manual (1)
- OOP ch1 (12)
- OOP ch1 (6)

You are on page 1of 1

h> class product { public: long int price; char *id,name[20]; void accept() { cout<<"\nEnter Product name:\t"; cin>>name; cout<<"Enter the product price:\t"; cin>>price; } product(char *c="A0B0012") { id=c; } void display() { cout<<"\nProduct id:\t"<<id; cout<<"\nProduct name:\t"<<name; cout<<"\nProduct price:\t"<<price; } }; void main() { int i; clrscr(); product p[5]; for(i=0;i<5;i++) { p[i].accept(); } for(i=0;i<5;i++) { p[i].display(); } getch(); }

Page 1

Print to PDF without this message by purchasing novaPDF (http://www.novapdf.com/)

- exp1_2(OOP)Uploaded bysakharam_gawade
- EXP3_4Uploaded bysakharam_gawade
- EXP4_3Uploaded bysakharam_gawade
- EXP4_2Uploaded bysakharam_gawade
- EXP3_3Uploaded bysakharam_gawade
- exp1_4(OOP)Uploaded bysakharam_gawade
- EXP3_1Uploaded bysakharam_gawade
- EXP4_1Uploaded bysakharam_gawade
- EXP3_2Uploaded bysakharam_gawade
- EXP5_3Uploaded bysakharam_gawade
- exp1_3(OOP)Uploaded bysakharam_gawade
- EXP5_1Uploaded bysakharam_gawade
- EXP4_4Uploaded bysakharam_gawade
- EXP5_2Uploaded bysakharam_gawade
- EXP8_2Uploaded bysakharam_gawade
- EXP7_4Uploaded bysakharam_gawade
- EXP6_1Uploaded bysakharam_gawade
- EXP7_2Uploaded bysakharam_gawade
- Exp 10Uploaded bysakharam_gawade
- EXP12Uploaded bysakharam_gawade
- EXP6_2Uploaded bysakharam_gawade
- EXP5_5Uploaded bysakharam_gawade
- exp13Uploaded bysakharam_gawade
- EXP6_3Uploaded bysakharam_gawade
- EXP7_1Uploaded bysakharam_gawade
- EXP7_3Uploaded bysakharam_gawade
- EXP8_1Uploaded bysakharam_gawade
- EXP11Uploaded bysakharam_gawade

- dt manual (13)Uploaded bysakharam_gawade
- Exp 10Uploaded bysakharam_gawade
- About BlankUploaded bysakharam_gawade
- dt manual (6)Uploaded bysakharam_gawade
- EXP12Uploaded bysakharam_gawade
- dt manual (10)Uploaded bysakharam_gawade
- exp13Uploaded bysakharam_gawade
- dt manual (12)Uploaded bysakharam_gawade
- dt manual (11)Uploaded bysakharam_gawade
- dt manual (7)Uploaded bysakharam_gawade
- dt manual (9)Uploaded bysakharam_gawade
- dt manual (14)Uploaded bysakharam_gawade
- dt manual (8)Uploaded bysakharam_gawade
- Aritificial Intelligence EXP1Uploaded bysakharam_gawade
- EXP11Uploaded bysakharam_gawade
- OOP ch1 (4)Uploaded bysakharam_gawade
- OOP ch1 (5)Uploaded bysakharam_gawade
- dt manual (4)Uploaded bysakharam_gawade
- OOP ch1 (10)Uploaded bysakharam_gawade
- OOP ch1 (8)Uploaded bysakharam_gawade
- dt manual (3)Uploaded bysakharam_gawade
- OOP ch1 (3)Uploaded bysakharam_gawade
- dt manual (2)Uploaded bysakharam_gawade
- dt manual (5)Uploaded bysakharam_gawade
- OOP ch1 (11)Uploaded bysakharam_gawade
- OOP ch1 (9)Uploaded bysakharam_gawade
- OOP ch1 (7)Uploaded bysakharam_gawade
- dt manual (1)Uploaded bysakharam_gawade
- OOP ch1 (12)Uploaded bysakharam_gawade
- OOP ch1 (6)Uploaded bysakharam_gawade