This project is based on typewriter program. This program verifies that the word or sentence is matched or not. And in what time the word or sentence is typed.
Prompt Engineering - an Art, a Science, or your next Job Title?
Typewriter
1. Aryabhatta International College
of Technical Education
Ajmer, Rajasthan
A
PROJECT REPORT
ON
Typewriter: C++
Submitted in partial fulfilment for the
Award of the Degree of
BACHELOR OF COMPUTER APPLICATIONS
2017-2018
Submitted to:
Aryabhatta International College of Technical Education
Submitted by:
Harshita Bhargava
2. ACKNOWLEDGEMENT
I am thankful to Kriti Sankhla Ma’am for her valuable time she has devoted to
me and given me a lot of knowledge and help for the project. I am also thankful
to other teachers for their expert guidance. It was a great experience for me to
work and learn under their guidance.
Words defeat us in expressing our deep sense of gratitude for our friends, whose
continued resourceful support and guidance enabled me to overcome all the
challenges that I have faced while developing the project.
Harshita Bhargava
3. TYPEWRITER
#include<iostream.h>
#include<conio.h>
#include<time.h>
#include<string.h>
char str1[50]="My name is harshita";
class type
{
char str2[80];
int x,t1,t2;
public:
void display()
{
cout<<"****TYPEWRITER PROGRAM****";
t1=time(NULL);
cout<<endl<<endl;
cout<<"Given text: "<<str1<<endl;
a: cout<<"nType the following content: ";
cin.getline(str2,80);
if(strcmp(str1,str2)==0)
{
cout<<"Above content is correct and matched...."<<endl;
x=strlen(str2);
cout<<"Total characters: "<<x<<endl;