Beruflich Dokumente
Kultur Dokumente
www.pixelesindia.com
PIXELES CLASSES
Page | 1
PIXELES CLASSES
char prd_qty[5];
char prd_sales[5];
void company()
PIXELES CLASSES
Page | 2
clrscr();
MCA Students
printf("\nContact:011-3456789");
}
void product()
Regular Classes
clrscr();
Institute
Subjective Knowledge
void disp_price()
{
100% Results
clrscr();
void input_prd_sale()
Proper Guidance
{
clrscr();
printf("\nEnter production and sale in this week\n");
www.pixelesindia.com
PIXELES CLASSES
for(i=0;i<=4;i++)
{
printf("Enter the Product qty of %s -->",prd[i]);
scanf("%d",&q[i]);
PIXELES CLASSES
www.pixelesindia.com
Page | 3
PIXELES CLASSES
do
{
printf("\n\n***** Menu List *****\n");
printf("1) Information about the Company\n");
printf("2) Details/Specifications of their Five Products\n");
printf("3) Price list of their Five Products\n");
printf("4) Input Weekly Matrix of Production and Sales\n");
printf("5) Display value of weekly Production and Sales\n");
printf("6) Grand total value of Production and Sales\n");
printf("7) Quit\n");
printf("Enter your choice:\n");
scanf("%d",&ch);
//ch=getchar();
switch(ch)
{
case 1:
company();
break;
case 2:
product();
break;
case 3:
disp_price();
break;
case 4:
input_prd_sale();
break;
case 5:
output_prd_sale();
break;
case 6:
www.pixelesindia.com
PIXELES CLASSES
Page | 4
PIXELES CLASSES
total();
break;
case 7:
break;
PIXELES CLASSES
default:
Page | 5
printf("Wrong choice\n");
}
}while(ch!=7);
getch();
}
www.pixelesindia.com