Class Int Char Char Int Float Public: Consumer Cno Cname Adress A, B, C I
Class Int Char Char Int Float Public: Consumer Cno Cname Adress A, B, C I
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
& COMPUTER SCIENCE PROJECT WORK &
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
SOFTWARE FOR THE USE IN COMPUTERS SHOP
***INTRODUCTION***
/////////////////////////////
NAME:- BHAVISHAY NIGAM
CLASS:- XII
SEC:- 'N.M'
ROLL NO:- '8'
/////////////////////////////
####################
# STAR COMPUTERS #
####################
/*
*/
#include<fstream.h>
#include<conio.h>
#include<string.h>
#include<stdio.h>
#include<process.h>
#include<iomanip.h>
#include<dos.h>
#include<graphics.h>
//for
//for
//for
//for
//for
//for
//for
//for
class consumer
{
int cno;
char cname[20];
char adress[20];
int a,b,c;
float i;
public:
//FUNCTION TO ENTER THE VALUES
public:
void entry()
{
clrscr();
textcolor(RED);
gotoxy(32,4);
cputs("S.T.A.R COMPUTERS");
gotoxy(5,8);
cputs("Customer ID :");
gotoxy(5,10);
cputs("Customer name :");
gotoxy(5,12);
cputs("Customer adress :");
gotoxy(5,14);
cputs("Customer
gotoxy(5,16);
cputs("Costumer
gotoxy(5,18);
cputs("Costumer
gotoxy(5,20);
cputs("Customer
gotoxy(45,8);
cin>>cno;
gotoxy(45,10);
gets(cname);
gotoxy(45,12);
gets(adress);
gotoxy(45,14);
cin>>a;
gotoxy(45,16);
cin>>b;
gotoxy(45,18);
cin>>c;
gotoxy(45,20);
cin>>i;
}
ID :");
name :");
adress :"<<adress;
Service number :" <<a;
Smart card number :"<<b;
Phone number :"<<c;
Bill number :"<<i<<"\n";
consumer c;
fstream f1;
c.entry();