===========================================================================
CODING
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
cout<<"\n MOKSH SHOP ";
cout<<"\n-------------------------------------";
cout<<"\n 17A, DARJEELING ";
cout<<"\n-------------------------------------";
cout<<"\n| SNo.| Particular | Object | Price |";
cout<<"\n|-----|------------|--------|-------|";
cout<<"\n| 1 | Pen | 4 | 20 |";
cout<<"\n| 2 | Games | 5 | 70 |";
cout<<"\n| 3 | Mop | 2 | 30 |";
cout<<"\n| 4 | Paper | 8 | 80 |";
cout<<"\n| 5 | Tigerbiscut| 3 | 100 |";
cout<<"\n|-----------------------------------|";
cout<<"\n| GRAND TOTAL | 22 | 200 |";
cout<<"\n-------------------------------------";
cout<<"\n Thanks From Moksh ";
cout<<"\n-------------------------------------";
getch();
}
===========================================================================
OUTPUT
===========================================================================
/* For copying the programme: Copy the programme in notepad and save it as (NAME).cpp in Directory C:\TURBOC3\BIN\(NAME).cpp and use Turbo C++ to open the file. */
CODING
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
cout<<"\n MOKSH SHOP ";
cout<<"\n-------------------------------------";
cout<<"\n 17A, DARJEELING ";
cout<<"\n-------------------------------------";
cout<<"\n| SNo.| Particular | Object | Price |";
cout<<"\n|-----|------------|--------|-------|";
cout<<"\n| 1 | Pen | 4 | 20 |";
cout<<"\n| 2 | Games | 5 | 70 |";
cout<<"\n| 3 | Mop | 2 | 30 |";
cout<<"\n| 4 | Paper | 8 | 80 |";
cout<<"\n| 5 | Tigerbiscut| 3 | 100 |";
cout<<"\n|-----------------------------------|";
cout<<"\n| GRAND TOTAL | 22 | 200 |";
cout<<"\n-------------------------------------";
cout<<"\n Thanks From Moksh ";
cout<<"\n-------------------------------------";
getch();
}
===========================================================================
OUTPUT
===========================================================================
/* For copying the programme: Copy the programme in notepad and save it as (NAME).cpp in Directory C:\TURBOC3\BIN\(NAME).cpp and use Turbo C++ to open the file. */
No comments:
Post a Comment