C++ Program to Write a Bio-data

This is a C++ program to write a bio-data. The program is written in Dev-C++ installed on a Windows 7 64-bit system. You can use any standard C++ compiler to compile and run this program.

Advertisements

The program is intended for beginners learning C++ programming language. You may change the dummy information displayed with the program. Also, try changing the format of the Biodata as an exercise.

In this post, we have provided you with a problem definition, a flowchart, program source code and verified output of the program itself. You can do any modification to the program suitable to you.

Problem Definition

The program is a simple demonstration of printing output from a C++ program using cout (output stream). If you like to rewrite the program with cin (input stream). It means you can ask for inputs during runtime.

The program is divided into 4 sections that display Biodata information as follows

Advertisements
  1. Name and contact details
  2. Personal details
  3. Educational details
  4. Work experiences

Each of the section contains some details which may or may not like to modify, but keep the format simple.

Flowchart – C++ program to write a bio-data

The following is the flowchart for the program to write bio-data in C++. Each section represents some details about the candidate and it is printed to the console, when the program executes.

 
Flowchart – Program to write Biodata

Program Code – C++ program to write a bio-data

//A simple C program that output biodata of an imaginary person
#include "ostream.h"
#include "stdio.h"

int main()
{
cout << "\t\t\t\t" << "BIODATA" << endl;

for(int i = 0;i << 70;i++)
cout << "_";cout << endl; cout << endl;

cout << "Mr.Miyagi" << endl;
cout << "miyagi@live.com" << endl;
cout << "mob: 983234535" << endl;
cout << "Twitter:Miyag@twitter.com" << endl;

for( int i = 0;i < 70;i++)
cout << "_";cout << endl;

//Personal Details

cout << endl;
cout << "PERSONAL DETAILS" << endl;
cout << endl;
cout << "Full Address :"<< "\t\t"<< "101,4R,Okinawa,Japan"<< endl;
cout << "Age :"<< "\t\t"<< "28 Year"<< endl;
cout << "Passport No :"<< "\t\t"<< "AK56453332MZED" << endl; cout << endl;

cout << "EDUCATIONAL DETAILS" << endl;
cout << endl;
cout << "Graduation :"<<"\t\t"<< "70% Marks" << "Year 2006"<< endl;
cout << "Grad Major :"<<"\t\t"<<"Computer Science"<< endl;
cout << "Other Qual :"<<"\t\t"<< "MS EXCEL,MATLAB Certified"<< endl; cout << endl;

cout << "WORK EXPERIENCE" << endl;
cout << endl;
cout << "Comptech Inc :" << "\t\t"<<"2001 May - 2003 August"<< endl;
cout << "Designation :"<<"\t\t"<<"Junior Programmer"<< endl;

for( int i = 0;i << 70;i++)
cout << "_"; cout << endl;

system("PAUSE");
return 0;
}

Output

The output of the program is given in the following figure.

When the program begins it will prints all the details that you input within the program, to the console. You can change the format of the bio-data by making necessary changes to the program.

You can have a Facebook ID, instead of twitter ID. Or you may want to change the mobile number to a landline number.

Output – Program to write a Biodata
 

Advertisements

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Exit mobile version