Write a Bio Data program that Input Name, Father Name, college name, Age etc. and Print given data?

Bio Data program that Input Name, Father Name, college name, Age etc.

Write a Bio Data program that Input Name, Father Name, college name, Age etc. and Print given data?

Object: Write a Bio Data program that Input Name, Father Name, college name, Age etc. and Print given data? C++ projects for beginners with source code

Code:

#include<iostream>

#include<conio.h>

#include<string>

using namespace std;

void main()

{

int age;

float hight;

string name,f_name,email,cont,uni,dep,colg;

cout<<“\n\t\t———- BIO DATA ———-“<<endl<<endl;

cout<<“Enter Your Name: “;

getline(cin,name);

cout<<“Enter Your Father Name: “;

getline(cin,f_name);

cout<<“Enter Your Age: “;

cin>>age;

cout<<“Enter Your Hight: “;

cin>>hight;

cout<<“Enter Your Email: “;

cin>>email;

cout<<“Enter Your Contact No.: “;

cin>>cont;

cout<<“Enter you University Name: “;

cin>>uni;

cout<<“Enter Your Department: “;

cin>>dep;

cout<<“\nYour Name is: “<<name;

cout<<“\nYour Fater Name is: “<<f_name;

cout<<“\nYour Age is: “<<age;

cout<<“\nYour Hight is: “<<hight;

cout<<“\nYour Email is: “<<email;

cout<<“\nYour Contact No. is: “<<cont;

cout<<“\nYour University is : “<<uni;

cout<<“\nYour Department is : “<<dep;

cout<<“\n______________________________________________________________________”<<endl;

getch();

}

#include<iostream>
#include<conio.h>
#include<string>
using namespace std;
void main()
{
	int age;
	float hight;
	string name,f_name,email,cont,uni,dep,colg;
	cout<<"\n\t\t---------- BIO DATA ----------"<<endl<<endl;
	cout<<"Enter Your Name: ";
	getline(cin,name);
	cout<<"Enter Your Father Name: ";
	getline(cin,f_name);
	cout<<"Enter Your Age: ";
	cin>>age;
	cout<<"Enter Your Hight: ";
	cin>>hight;
	cout<<"Enter Your Email: ";
	cin>>email;
	cout<<"Enter Your Contact No.: ";
	cin>>cont;
	cout<<"Enter you University Name: ";
	cin>>uni;
	cout<<"Enter Your Department: ";
	cin>>dep;
	cout<<"\nYour Name is: "<<name;
	cout<<"\nYour Fater Name is: "<<f_name;
	cout<<"\nYour Age is: "<<age;
	cout<<"\nYour Hight is: "<<hight;
	cout<<"\nYour Email is: "<<email;
	cout<<"\nYour Contact No. is: "<<cont;
	cout<<"\nYour University is : "<<uni;
	cout<<"\nYour Department is : "<<dep;
    cout<<"\n________________________________________________________________________________"<<endl;
	getch();
}

 

Output:

Write a Bio Data program that Input Name, Father Name, college name, Age etc. and Print given data?

C++ projects for beginners with source code

 

2 thoughts on “Write a Bio Data program that Input Name, Father Name, college name, Age etc. and Print given data?”

  1. Pingback: How to write a program print your Bio Data? | Print your Bio Data.

Leave a Comment

Your email address will not be published. Required fields are marked *