Top Banner
St. Xavier’s School Senior Secondary Unit Haldia Project Report On PERIODIC TABLE 2015-16 In the partial fulfillment of All India Senior School Certificate Examination for the session 2015- 2016 conducted by Central Board Of Secondary Education. Soumyadeep Chandra 1
74

Computer project

Apr 12, 2016

Download

Documents

Soumyadeep

Periodic Table
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Computer project

St. Xavier’s SchoolSenior Secondary Unit

HaldiaProject Report

On

PERIODIC TABLE

2015-16In the partial fulfillment of

All India Senior School Certificate Examination for

the session 2015-2016 conducted by Central Board

Of Secondary Education.

Soumyadeep ChandraCLASS—XII science A

Roll no.: 131

Page 2: Computer project

ACKNOWLEDGEMENT

I would like to convey my heartful thanks to Mr. Susan Pal (Computer Science) who always gave valuable suggestions & guidance for completion of my project. He helped me to understand &remember important details of the project. My project has been a success only because of his guidance.I am especially indented & I am also beholden to my friends. And finally I thank to the members of my family for their support & encouragement.

Soumyadeep Chandra

2

Page 3: Computer project

XII Sc ARoll no 13

Content1. Introduction

page no: 04

2. Source Codepage no:05

3. Output page no:62

3

Page 4: Computer project

4. Bibliographypage no:65

The periodic table is a tabular arrangement of the chemical elements, organized on the basis of their atomic number (number of protons in the nucleus), electron configurations, and

4

Page 5: Computer project

recurring chemical properties. Elements are presented in order of increasing atomic number, which is typically listed with the chemical symbol in each box. The standard form of the table consists of a grid of elements laid out in 18 Groups and 7 Periods, with a double row of elements below that. The table can also be deconstructed into four rectangular blocks: the s-block to the left, the p-block to the right, the d-block in the middle, and the f-block below that.

This program is used in scientific data base projects to know the different physical and chemical properties of an element.

The first 98 elements exist naturally although some are found only in trace amounts and were synthesized in laboratories before being found in nature. Elements with atomic numbers from 99 to 111 have only been synthesized, or claimed to be so, in laboratories.

Processor : Pentium IV RAM : 256 MB DDR Operating System : Windows XP and above

5

Page 6: Computer project

//***************************************************************************// INCLUDE ALL THE HEADER FILES//***************************************************************************

#include<iostream.h>#include<conio.h>#include<graphics.h>#include<stdio.h>#include<ctype.h>#include<process.h>#include<string.h>#include<dos.h>#include<fstream.h>

void element(int,int);

int i,j,g;

//***************************************************************************// ELEMENT DISPLAY FRAMES//***************************************************************************

void frame() { gotoxy(19,8); cout<<"É"; for(i=20;i<=60;i++) { gotoxy(i,8); cout<<"Í"; } cout<<"»"; gotoxy(19,16); cout<<"È"; for(i=20;i<=60;i++) { gotoxy(i,16); cout<<"Í"; } cout<<"¼"; for(i=9;i<=15;i++) { gotoxy(19,i);

6

Page 7: Computer project

cout<<"º"; } for(i=9;i<=15;i++) { gotoxy(61,i); cout<<"º"; } gotoxy(5,24); cout<<"Press Esc to Exit"; }

//***************************************************************************// PERIODIC TABLE DISPLAY FUNCTION//***************************************************************************

void display(){ clrscr(); gotoxy(33,2); cout<<"PERIODIC TABLE"; gotoxy(1,1); cout<<"É"; for(i=2;i<=79;i++) { gotoxy(i,1); cout<<"Í"; } cout<<"»"; for(i=2;i<=23;i++) { gotoxy(80,i); cout<<"º"; } gotoxy(80,24); cout<<"¼"; for(i=2;i<=11;i++) { gotoxy(i,24); cout<<"Í"; } gotoxy(1,24); cout<<"È"; for(i=2;i<=23;i++) { gotoxy(1,i); cout<<"º"; } gotoxy(12,4); cout<<"Ú"<<"Ä"<<"Ä"<<"¿"; gotoxy(63,4); cout<<"Ú"<<"Ä"<<"Ä"<<"¿"; gotoxy(12,5);cout<<"³"; gotoxy(15,5);cout<<"³"; gotoxy(63,5);cout<<"³"; gotoxy(66,5);cout<<"³"; gotoxy(12,6);cout<<"Ã"<<"Ä"<<"Ä"<<"´"; gotoxy(48,6);cout<<"Ú"; for(i=51;i<=60;i++) if(i%3==0) { gotoxy(i,6); cout<<char(194);

7

Page 8: Computer project

} for(i=48;i<=66;i++) if(i%3!=0) { gotoxy(i,6); cout<<"Ä"; } gotoxy(63,6); cout<<"Å"; for(i=48;i<=66;i++) if(i%3==0) { gotoxy(i,7); cout<<"³"; } gotoxy(12,7);cout<<"³"; gotoxy(12,8);cout<<"Ã"<<"Ä"<<"Ä"<<"´"; gotoxy(12,9);cout<<"³"; gotoxy(15,9);cout<<"³"; gotoxy(15,6);cout<<"Å"<<"Ä"<<"Ä"<<"¿"; gotoxy(15,8);cout<<"Å"<<"Ä"<<"Ä"<<"´"; gotoxy(18,7);cout<<"³"; gotoxy(18,9);cout<<"³"; gotoxy(48,8);cout<<"Ã"; for(i=51;i<=63;i++) if(i%3==0) { gotoxy(i,8); cout<<"Å"; } for(i=48;i<=66;i++) if(i%3!=0) { gotoxy(i,8); cout<<"Ä"; } for(i=48;i<=66;i++) if(i%3==0) { gotoxy(i,9); cout<<"³"; } gotoxy(12,10); cout<<"Ã";gotoxy(15,10); cout<<"Å"; for(i=13;i<=66;i++) if(i%3!=0) { gotoxy(i,10);

cout<<"Ä"; }for(i=18;i<=45;i++) if(i%3==0) { gotoxy(i,10);

cout<<char(194); }for(i=46;i<=63;i++) if(i%3==0) { gotoxy(i,10);

cout<<"Å";

8

Page 9: Computer project

}gotoxy(18,10);cout<<"Å";for(i=12;i<=66;i++) if(i%3==0) for(j=10;j<=16;j++) if(j%2!=0) { gotoxy(i,j); cout<<"³"; }for(i=15;i<=63;i++) if(i%3==0) for(j=12;j<=14;j++) if(j%2==0) { gotoxy(i,j); cout<<"Å"; }for(i=15;i<=63;i++) if(i%3==0) for(j=12;j<=14;j++) if(j%2==0) { gotoxy(i,j); cout<<"Å"; }for(i=12;i<=66;i++) if(i%3==0) for(j=12;j<=66;j++) if(j%2==0) { gotoxy(i,j); cout<<"Ä"; }for(i=15;i<=42;i++) if(i%3==0) { gotoxy(i,16); cout<<"Å"; }for(i=45;i<=63;i++) if(i%3==0) { gotoxy(i,16); cout<<"Á"; }for(i=12;i<=42;i++) if(i%3==0) { gotoxy(i,17); cout<<"³"; }gotoxy(12,18);cout<<"À";for(i=12;i<=42;i++) if(i%3!=0) { gotoxy(i,18); cout<<"Ä"; } cout<<"Ù"; for(i=15;i<=40;i++)

9

Page 10: Computer project

if(i%3==0) { gotoxy(i,18); cout<<"Á"; } for(i=6;i<=16;i++) if(i%2==0) { gotoxy(12,i); cout<<"Ã"; } for(i=6;i<=14;i++) if(i%2==0) { gotoxy(66,i); cout<<"´"; }gotoxy(66,16);cout<<"Ù";gotoxy(12,20);cout<<"Ú";for(i=13;i<=23;i++) { gotoxy(i,20); cout<<"Ä"; }for(i=24;i<=63;i++) if(i%3==0) { gotoxy(i,20); cout<<char(194); }for(i=24;i<=66;i++) if(i%3!=0) { gotoxy(i,20); cout<<"Ä"; cout<<"¿";gotoxy(12,21);cout<<"³"; } for(i=24;i<=66;i++) { if(i%3==0) { gotoxy(i,21); // cout<<char(194); cout<<"³"; }} for(i=24;i<=66;i++){ if(i%3==0) { gotoxy(i,20); cout<<"Ä"; }cout<<"¿"; gotoxy(i,21); cout<<"³";}for(i=24;i<=66;i++)

10

Page 11: Computer project

{ if(i%3==0) { gotoxy(i,21); cout<<"³"; }gotoxy(i,22);cout<<"Ã";}for(i=13;i<=23;i++) { gotoxy(i,22); cout<<"Ä"; } for(i=24;i<=63;i++) { if(i%3==0) { gotoxy(i,22); cout<<"Å"; } } for(i=24;i<=66;i++) { if(i%3!=0) { gotoxy(i,22); cout<<"Ä"; } cout<<"´"; gotoxy(12,23);cout<<"³";}for(i=24;i<=66;i++) if(i%3==0) { gotoxy(i,23); cout<<"³"; } gotoxy(12,24); cout<<"À"; for(i=13;i<=23;i++) { gotoxy(i,24); cout<<"À"; } for(i=24;i<=63;i++) if(i%3==0) { gotoxy(i,24); cout<<"Á"; } for(i=24;i<=66;i++) if(i%3!=0) { gotoxy(i,24); cout<<"Ä"; }cout<<"Ù";gotoxy(15,25);cout<<"ARROWS TO SCROLL.ENTER TO SELECT.ESC TO EXIT.";gotoxy(13,5);cout<<"H";

11

Page 12: Computer project

gotoxy(13,7);cout<<"Li";gotoxy(13,9);cout<<"Na";gotoxy(13,11);cout<<"K";

gotoxy(15,7); cout<<"³";gotoxy(45,17); cout<<"³";gotoxy(42,18);cout<<"Á";gotoxy(43,18);cout<<"Ä";gotoxy(44,18);cout<<"Ä";gotoxy(45,18);cout<<"Ù";

for (i=13;i<66;i++) { gotoxy(i,14);cout<<"Ä"; gotoxy(i,12);cout<<"Ä"; gotoxy(i,16);cout<<"Ä"; if(i>45) { gotoxy(i,18);cout<<" ";} if(i%3==0) { gotoxy(i,14);cout<<"Å"; gotoxy(i,12);cout<<"Å"; gotoxy(i,16);cout<<"Å"; if(i>45) gotoxy(i,16);cout<<"Á"; } }

for (i=23;i<66;i++) { gotoxy(i,20);cout<<"Ä"; gotoxy(i,22);cout<<"Ä"; gotoxy(i-11,24);cout<<"Ä"; gotoxy(i,24);cout<<"Ä"; if(i%3==0) { gotoxy(i,20);cout<<"Â"; gotoxy(i,22);cout<<"Å"; gotoxy(i,24);cout<<"Á"; } } for (i=23;i<66;i++) { if(i%3==0) if(i>10) { gotoxy(i,24); cout<<"Á"; } }

for(i=67;i<=80;i++) {gotoxy(i,24);cout<<"Í";}for(i=0;i<=10;i++) {gotoxy(i,25);cout<<" ";}for(i=19;i<=47;i++) {gotoxy(i,9);cout<<" ";}for(i=2;i<=5;i++) {gotoxy(61,i);cout<<" ";}

gotoxy(12,22);cout<<"Ã";gotoxy(66,20);cout<<"¿ ";gotoxy(12,24);cout<<"ÀÄ";

12

Page 13: Computer project

gotoxy(80,24);cout<<"¼";gotoxy(59,9);cout<<" ";gotoxy(56,9);cout<<" ";

gotoxy(13,13);cout<<"Rb";gotoxy(13,15);cout<<"Cs";gotoxy(13,17);cout<<"Fr";gotoxy(16,7);cout<<"Be";gotoxy(16,9);cout<<"Mg";gotoxy(16,11);cout<<"Ca";gotoxy(16,13);cout<<"Sr";gotoxy(16,15);cout<<"Ba";gotoxy(16,17);cout<<"Ra";gotoxy(19,11);cout<<"Sc";gotoxy(19,13);cout<<"Y";gotoxy(19,15);cout<<"La";gotoxy(19,17);cout<<"Ac";gotoxy(22,11);cout<<"Ti";gotoxy(22,13);cout<<"Zr";gotoxy(22,15);cout<<"Hf";gotoxy(22,17);cout<<"Rf";gotoxy(25,11);cout<<"V";gotoxy(25,13);cout<<"Nb";gotoxy(25,15);cout<<"Ta";gotoxy(25,17);cout<<"Db";gotoxy(28,11);cout<<"Cr";gotoxy(28,13);cout<<"Mo";gotoxy(28,15);cout<<"W";gotoxy(28,17);cout<<"Sg";gotoxy(31,11);cout<<"Mn";gotoxy(31,13);cout<<"Tc";gotoxy(31,15);cout<<"Re";gotoxy(31,17);

13

Page 14: Computer project

cout<<"Bh";gotoxy(34,11);cout<<"Fe";gotoxy(34,13);cout<<"Ru";gotoxy(34,15);cout<<"Os";gotoxy(34,17);cout<<"Hs";gotoxy(37,11);cout<<"Co";gotoxy(37,13);cout<<"Rh";gotoxy(37,15);cout<<"Ir";gotoxy(37,17);cout<<"Mt";gotoxy(40,11);cout<<"Ni";gotoxy(40,13);cout<<"Pd";gotoxy(40,15);cout<<"Pt";gotoxy(40,17);cout<<"Ds";gotoxy(43,11);cout<<"Cu";gotoxy(43,13);cout<<"Ag";gotoxy(43,15);cout<<"Au";gotoxy(43,17);cout<<"Rg";gotoxy(46,11);cout<<"Zn";gotoxy(46,13);cout<<"Cd";gotoxy(46,15);cout<<"Hg";gotoxy(49,7);cout<<"B";gotoxy(49,9);cout<<"Al";gotoxy(49,11);cout<<"Ga";gotoxy(49,13);cout<<"In";gotoxy(49,15);cout<<"Tl";gotoxy(52,7);cout<<"C";gotoxy(52,9);cout<<"Si";gotoxy(52,11);cout<<"Ge";gotoxy(52,13);cout<<"Sn";gotoxy(52,15);cout<<"Pb";gotoxy(55,7);cout<<"N";gotoxy(55,9);

14

Page 15: Computer project

cout<<"P";gotoxy(55,11);cout<<"As";gotoxy(55,13);cout<<"Sb";gotoxy(55,15);cout<<"Bi";gotoxy(58,7);cout<<"O";gotoxy(58,9);cout<<"S";gotoxy(58,11);cout<<"Se";gotoxy(58,13);cout<<"Te";gotoxy(58,15);cout<<"Po";gotoxy(61,7);cout<<"F";gotoxy(61,9);cout<<"Cl";gotoxy(61,11);cout<<"Br";gotoxy(61,13);cout<<"I";gotoxy(61,15);cout<<"At";gotoxy(64,5);cout<<"He";gotoxy(64,7);cout<<"Ne";gotoxy(64,9);cout<<"Ar";gotoxy(64,11);cout<<"Kr";gotoxy(64,13);cout<<"Xe";gotoxy(64,15);cout<<"Rn";gotoxy(13,21);cout<<"Lanthanides";gotoxy(25,21);cout<<"Ce";gotoxy(28,21);cout<<"Pr";gotoxy(31,21);cout<<"Nd";gotoxy(34,21);cout<<"Pm";gotoxy(37,21);cout<<"Sm";gotoxy(40,21);cout<<"Eu";gotoxy(43,21);cout<<"Gd";gotoxy(46,21);cout<<"Tb";gotoxy(49,21);cout<<"Dy";gotoxy(52,21);cout<<"Ho";gotoxy(55,21);

15

Page 16: Computer project

cout<<"Er";gotoxy(58,21);cout<<"Tm";gotoxy(61,21);cout<<"Yb";gotoxy(64,21);cout<<"Lu";gotoxy(13,23);cout<<"Actinides";gotoxy(25,23);cout<<"Th";gotoxy(28,23);cout<<"Pa";gotoxy(31,23);cout<<"U";gotoxy(34,23);cout<<"Np";gotoxy(37,23);cout<<"Pu";gotoxy(40,23);cout<<"Am";gotoxy(43,23);cout<<"Cm";gotoxy(46,23);cout<<"Bk";gotoxy(49,23);cout<<"Cf";gotoxy(52,23);cout<<"Ea";gotoxy(55,23);cout<<"Fm";gotoxy(58,23);cout<<"Md";gotoxy(61,23);cout<<"No";gotoxy(64,23);cout<<"Lr";gotoxy(2,2);i=2;j=2;gotoxy(i,j);

do { g=getch(); if(g==80) { if(j==23) j=1; gotoxy(i,++j); } else if(g==77) { if(i==79) i=1; gotoxy(++i,j); } else if(g==75) { if(i==2) i=80; gotoxy(--i,j); } else if(g==72) { if(j==2)

16

Page 17: Computer project

j=24; gotoxy(i,--j); } if(g==13) element(i,j); }while(g!=27);}

//***************************************************************************// MAIN FUNCTION//***************************************************************************

void main() { clrscr(); int gdriver=DETECT,gmode,errorcode; initgraph(&gdriver,&gmode,"h:\tc\bin"); errorcode=graphresult(); if(errorcode!=grOk) { cout<<grapherrormsg(errorcode)<<endl; getch(); }

//************************************************************************** // HOME PAGE SHOWING PROJECT NAME AND DEVELOPER //**************************************************************************

for (int i=0;i<7;i++) { delay(150); clrscr(); settextstyle(6,0,i); outtextxy(100,25," CBSE CLASS 12 PROJECT......"); outtextxy(100,35," ---------------------------"); outtextxy(180,75," WELCOME"); outtextxy(185,125," TO"); outtextxy(170,175," PERIODIC TABLE"); outtextxy(250,305," CREATED BY..."); outtextxy(250,315," -------------"); outtextxy(250,335," NAME:- Soumyadeep Chandra"); outtextxy(250,355," CLASS:- 12 Sc A"); outtextxy(250,375," ROLL:- 13"); } settextstyle(8,0,1); outtextxy(200,450,"Press Any Key To Continue ..."); getch(); closegraph(); display(); }

void element(int i,int j) {

//************************************************************************** // PERIOD 1 //************************************************************************** if(((i==13)||(i==14))&&(j==5)) {

17

Page 18: Computer project

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :1"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :1.008"<<"\n"; gotoxy(21,11); cout<<"Symbol :H"<<"\n"; gotoxy(21,12); cout<<"Name :Hydrogen"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :37.1"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :13.12"<<"\n"; gotoxy(21,15); cout<<"Electronegetivity :2.20"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return....."; }

else if(((i==64)||(i==65))&&(j==5)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :2"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :4.002"<<"\n"; gotoxy(21,11); cout<<"Symbol :He"<<"\n"; gotoxy(21,12); cout<<"Name :Helium"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :31"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :23.723"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :------"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

}

//************************************************************************** // PERIOD 2 //************************************************************************** else if(((i==13)||(i==14))&&(j==7)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :3"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :6.941"<<"\n";gotoxy(21,11);cout<<"Symbol :Li"<<"\n";gotoxy(21,12);cout<<"Name :Lithium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :152.3"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.202"<<"\n";gotoxy(21,15);

18

Page 19: Computer project

cout<<"Electronegativity :0.97"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==16)||(i==17))&&(j==7)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :4"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :9.012"<<"\n";gotoxy(21,11);cout<<"Symbol :Be"<<"\n";gotoxy(21,12);cout<<"Name :Berryllium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :112"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :8.994"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.47"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==49)||(i==50))&&(j==7)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :5"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :10.811"<<"\n"; gotoxy(21,11); cout<<"Symbol :B"<<"\n"; gotoxy(21,12); cout<<"Name :Boron"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :85"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :8.3"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :2.04"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

}

else if(((i==52)||(i==53))&&(j==7)) { clrscr();

frame(); gotoxy(21,9); cout<<"Atomic Number :6"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :12.011"<<"\n"; gotoxy(21,11); cout<<"Symbol :C"<<"\n"; gotoxy(21,12); cout<<"Name :Carbon"<<"\n";

19

Page 20: Computer project

gotoxy(21,13); cout<<"Atomic Radius(in pm) :77.2"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :10.86"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :2.5"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

}

else if(((i==55)||(i==56))&&(j==7)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :7"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :14.007"<<"\n"; gotoxy(21,11); cout<<"Symbol :N"<<"\n"; gotoxy(21,12); cout<<"Name :Nitrogen"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :74"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :14.023"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :3.07"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

} else if(((i==58)||(i==59))&&(j==7)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :8"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :15.999"<<"\n"; gotoxy(21,11); cout<<"Symbol :O"<<"\n"; gotoxy(21,12); cout<<"Name :Oxygen"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :73"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :13.139"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :3.50"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

} else if(((i==61)||(i==62))&&(j==7)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :9"<<"\n"; gotoxy(21,10);

20

Page 21: Computer project

cout<<"Atomic Mass :18.998"<<"\n"; gotoxy(21,11); cout<<"Symbol :F"<<"\n"; gotoxy(21,12); cout<<"Name :Fluorine"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :72"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :16.81"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :4.00"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

}

else if(((i==64)||(i==65))&&(j==7)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic No: :10"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :20.180"<<"\n"; gotoxy(21,11); cout<<"Symbol :Ne"<<"\n"; gotoxy(21,12); cout<<"Name :Neon"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :160"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :20.80"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :----"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

}

//************************************************************************** // PERIOD 3 //************************************************************************** else if(((i==13)||(i==14))&&(j==9)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :11"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :22.989"<<"\n";gotoxy(21,11);cout<<"Symbol :Na"<<"\n";gotoxy(21,12);cout<<"Name :Sodium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :186"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :4.958"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.01"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

21

Page 22: Computer project

else if(((i==16)||(i==17))&&(j==9)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :12"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :24.305"<<"\n";gotoxy(21,11);cout<<"Symbol :Mg"<<"\n";gotoxy(21,12);cout<<"Name :Magnesium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :160"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :6.50"<<"\n";gotoxy(21,15);cout<<"Electonegativity :1.31"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return..... ";

}

else if(((i==49)||(i==50))&&(j==9)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :13"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :26.982"<<"\n"; gotoxy(21,11); cout<<"Symbol :Al"<<"\n"; gotoxy(21,12); cout<<"Name :Aluminium"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :143"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :5.778"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :1.47"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

}

else if(((i==52)||(i==53))&&(j==9)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :14"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :28.085"<<"\n"; gotoxy(21,11); cout<<"Symbol :Si"<<"\n"; gotoxy(21,12); cout<<"Name :Silicon"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :117.5"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :7.85"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :1.74"<<"\n";

22

Page 23: Computer project

gotoxy(30,20); cout<<"Press Any Key To Return......";

}

else if(((i==55)||(i==56))&&(j==9)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :15"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :12.011"<<"\n"; gotoxy(21,11); cout<<"Symbol :P"<<"\n"; gotoxy(21,12); cout<<"Name :Phosphorus"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :110"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :1.011"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :2.19"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

}

else if(((i==58)||(i==59))&&(j==9)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :16"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :32.066"<<"\n"; gotoxy(21,11); cout<<"Symbol :S"<<"\n"; gotoxy(21,12); cout<<"Name :Sulphur"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :104"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :10.36"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :2.44"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

}

else if(((i==61)||(i==62))&&(j==9)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :17"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :35.453"<<"\n"; gotoxy(21,11); cout<<"Symbol :Cl"<<"\n"; gotoxy(21,12); cout<<"Name :Chlorine"<<"\n";

23

Page 24: Computer project

gotoxy(21,13); cout<<"Atomic Radius(in pm) :99.5"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :12.51"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :3.06"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

}

else if(((i==64)||(i==65))&&(j==9)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :18"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :39.948"<<"\n"; gotoxy(21,11); cout<<"Symbol :Ar"<<"\n"; gotoxy(21,12); cout<<"Name :Argon"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :190"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :15.26"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :----"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

} //************************************************************************** // PERIOD 4 //**************************************************************************

else if(((i==13)||(i==14))&&(j==11)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :19"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :39.098"<<"\n";gotoxy(21,11);cout<<"Symbol :K"<<"\n";gotoxy(21,12);cout<<"Name :Potassium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius :2.03"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :4.189"<<"\n";gotoxy(21,15);cout<<"Electronegativity :0.91"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==16)||(i==17))&&(j==11)) {

clrscr(); frame();

24

Page 25: Computer project

gotoxy(21,9); cout<<"Atomic Number :20"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :12.011"<<"\n"; gotoxy(21,11); cout<<"Symbol :Ca"<<"\n"; gotoxy(21,12); cout<<"Name :Calcium"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :197"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :5.89"<<"\n"; gotoxy(21,15); cout<<"Electonegativity :1.04"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return..... ";

}

else if(((i==19)||(i==20))&&(j==11)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :21"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :44.95"<<"\n"; gotoxy(21,11); cout<<"Symbol :Sc"<<"\n"; gotoxy(21,12); cout<<"Name :Scandium"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :162"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :6.31"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :1.36"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

} else if(((i==22)||(i==23))&&(j==11)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :22"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :47.867"<<"\n"; gotoxy(21,11); cout<<"Symbol :Ti"<<"\n"; gotoxy(21,12); cout<<"Name :Titanium"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :147"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :6.58"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :1.54"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

}else if(((i==25)||(i==26))&&(j==11)) {

25

Page 26: Computer project

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :23"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :50.942"<<"\n"; gotoxy(21,11); cout<<"Symbol :V"<<"\n"; gotoxy(21,12); cout<<"Name :Vanadium"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :134"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :6.503"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :1.63"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

}

else if(((i==28)||(i==29))&&(j==11)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :24"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :51.996"<<"\n"; gotoxy(21,11); cout<<"Symbol :Cr"<<"\n"; gotoxy(21,12); cout<<"Name :Chromium"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :128"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :6.528"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :1.66"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

}

else if(((i==31)||(i==33))&&(j==11)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :25"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :54.938"<<"\n"; gotoxy(21,11); cout<<"Symbol :Mn"<<"\n"; gotoxy(21,12); cout<<"Name :Manganese"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :127"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :7.17"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :1.55"<<"\n"; gotoxy(30,20);

26

Page 27: Computer project

cout<<"Press Any Key To Return......"; }

else if(((i==34)||(i==35))&&(j==11)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :26"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :55.846"<<"\n"; gotoxy(21,11); cout<<"Symbol :Fe"<<"\n"; gotoxy(21,12); cout<<"Name :Iron"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :126"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :7.593"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :1.9"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

}

else if(((i==37)||(i==38))&&(j==11)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :27"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :58.933"<<"\n"; gotoxy(21,11); cout<<"Symbol :Co"<<"\n"; gotoxy(21,12); cout<<"Name :Cobalt"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :125"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :7.584"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :1.88"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

}else if(((i==40)||(i==41))&&(j==11)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :28"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :58.693"<<"\n"; gotoxy(21,11); cout<<"Symbol :Ni"<<"\n"; gotoxy(21,12); cout<<"Name :Nickel"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :124"<<"\n"; gotoxy(21,14);

27

Page 28: Computer project

cout<<"1st Ionisation potential :7.367"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :1.91"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

} else if(((i==44)||(i==45))&&(j==11)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :29"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :63.546"<<"\n"; gotoxy(21,11); cout<<"Symbol :Cu"<<"\n"; gotoxy(21,12); cout<<"Name :Copper"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :128"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :7.454"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :1.95"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

} else if(((i==46)||(i==47))&&(j==11)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :30"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :65.39"<<"\n"; gotoxy(21,11); cout<<"Symbol :Zn"<<"\n"; gotoxy(21,12); cout<<"Name :Zinc"<<"\n"; gotoxy(21,13); cout<<"Atomic Radius(in pm) :134"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :9.064"<<"\n"; gotoxy(21,15); cout<<"Electronegativity :1.65"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return......";

}

else if(((i==49)||(i==50))&&(j==11)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :31"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :69.723"<<"\n";gotoxy(21,11);cout<<"Symbol :Ga"<<"\n";gotoxy(21,12);cout<<"Name :Gallium"<<"\n";gotoxy(21,13);

28

Page 29: Computer project

cout<<"Atomic Radius(in pm) :135"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.788"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.81"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==52)||(i==53))&&(j==11)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :32"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :72.61"<<"\n";gotoxy(21,11);cout<<"Symbol :Ge"<<"\n";gotoxy(21,12);cout<<"Name :Germanium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :122.3"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :7.621"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.01"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==55)||(i==56))&&(j==11)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :33"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :74.922"<<"\n";gotoxy(21,11);cout<<"Symbol :As"<<"\n";gotoxy(21,12);cout<<"Name :Arsenic"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :120"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :9.465"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.18"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==58)||(i==59))&&(j==11)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :34"<<"\n";gotoxy(21,10);

29

Page 30: Computer project

cout<<"Atomic Mass :78.96"<<"\n";gotoxy(21,11);cout<<"Symbol :Se"<<"\n";gotoxy(21,12);cout<<"Name :Selenium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :119"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :9.409"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.55"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==61)||(i==62))&&(j==11)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :35"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :79.904"<<"\n";gotoxy(21,11);cout<<"Symbol :Br"<<"\n";gotoxy(21,12);cout<<"Name :Bromine"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :114"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :11.399"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.76"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==64)||(i==65))&&(j==11)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :36"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :83.8"<<"\n";gotoxy(21,11);cout<<"Symbol :Kr"<<"\n";gotoxy(21,12);cout<<"Name :Krypton"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :202"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :1.35"<<"\n";gotoxy(21,15);cout<<"Electronegativity :3"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

//***************************************************************************// PERIOD 5//***************************************************************************

30

Page 31: Computer project

else if(((i==13)||(i==14))&&(j==13)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :37"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :85.486"<<"\n";gotoxy(21,11);cout<<"Symbol :Rb"<<"\n";gotoxy(21,12);cout<<"Name :Rubidium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :248"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :4.04"<<"\n";gotoxy(21,15);cout<<"Electronegativity :0.82"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==16)||(i==17))&&(j==13)) {

clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :38"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :87.62"<<"\n"; gotoxy(21,11); cout<<"Symbol :Sr"<<"\n"; gotoxy(21,12); cout<<"Name :Stroncium"<<"\n";//4 spaces gotoxy(21,13); cout<<"Atomic Radius(in pm) :2.15"<<"\n"; gotoxy(21,14); cout<<"1st Ionisation potential :5.49"<<"\n"; gotoxy(21,15); cout<<"Electonegativity :0.95"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return..... ";

} else if(((i==19)||(i==20))&&(j==13)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :39"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :88.906"<<"\n";gotoxy(21,11);cout<<"Symbol :Y"<<"\n";gotoxy(21,12);cout<<"Name :Yttrium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :180"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :6.153"<<"\n";gotoxy(21,15);

31

Page 32: Computer project

cout<<"Electronegativity :1.22"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

} else if(((i==22)||(i==23))&&(j==13)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :40"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :91.224"<<"\n";gotoxy(21,11);cout<<"Symbol :Zr"<<"\n";gotoxy(21,12);cout<<"Name :Zirconium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :160"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :6.60"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.33"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==25)||(i==26))&&(j==13)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :41"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :92.906"<<"\n";gotoxy(21,11);cout<<"Symbol :Nb"<<"\n";gotoxy(21,12);cout<<"Name :Niobium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :146"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :6.638"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.6"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==28)||(i==29))&&(j==13)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :42"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :95.94"<<"\n";gotoxy(21,11);cout<<"Symbol :Mo"<<"\n";gotoxy(21,12);cout<<"Name :Molybdenum"<<"\n";gotoxy(21,13);

32

Page 33: Computer project

cout<<"Atomic Radius(in pm) :139"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :6.849"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.24"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==31)||(i==32))&&(j==13)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :43"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :98"<<"\n";gotoxy(21,11);cout<<"Symbol :Tc"<<"\n";gotoxy(21,12);cout<<"Name :Technetium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :136"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :7.024"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.9"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==34)||(i==35))&&(j==13)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :44"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :101.07"<<"\n";gotoxy(21,11);cout<<"Symbol :Ru"<<"\n";gotoxy(21,12);cout<<"Name :Ruthenium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :134"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :7.111"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.2"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==37)||(i==38))&&(j==13)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :45"<<"\n";gotoxy(21,10);

33

Page 34: Computer project

cout<<"Atomic Mass :102.905"<<"\n";gotoxy(21,11);cout<<"Symbol :Rh"<<"\n";gotoxy(21,12);cout<<"Name :Rhodium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :134"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :7.198"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.28"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==40)||(i==41))&&(j==13)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :46"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :106.868"<<"\n";gotoxy(21,11);cout<<"Symbol :Pd"<<"\n";gotoxy(21,12);cout<<"Name :Palladium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :134"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :8.047"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.2"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==43)||(i==44))&&(j==13)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :47"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :101.868"<<"\n";gotoxy(21,11);cout<<"Symbol :Ag"<<"\n";gotoxy(21,12);cout<<"Name :Silver"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :144"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :7.31"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.93"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==46)||(i==47))&&(j==13)) {

34

Page 35: Computer project

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :48"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :112.411"<<"\n";gotoxy(21,11);cout<<"Symbol :Cd"<<"\n";gotoxy(21,12);cout<<"Name :Cadmium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :151"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :8.677"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.69"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==49)||(i==50))&&(j==13)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :49"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :114.818"<<"\n";gotoxy(21,11);cout<<"Symbol :In"<<"\n";gotoxy(21,12);cout<<"Name :Indium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :167"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.583"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.78"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==52)||(i==53))&&(j==13)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :50"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :118.71"<<"\n";gotoxy(21,11);cout<<"Symbol :Sn"<<"\n";gotoxy(21,12);cout<<"Name :Tin"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :140.5"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :7.086"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.88"<<"\n";gotoxy(30,20);

35

Page 36: Computer project

cout<<"Press Any Key To Return......"; }

else if(((i==55)||(i==56))&&(j==13)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :51"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :121.76"<<"\n";gotoxy(21,11);cout<<"Symbol :Sb"<<"\n";gotoxy(21,12);cout<<"Name :Antimony"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :140"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :8.337"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.05"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==58)||(i==59))&&(j==13)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :52"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :127.6"<<"\n";gotoxy(21,11);cout<<"Symbol :Te"<<"\n";gotoxy(21,12);cout<<"Name :Tellurium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :142"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :8.692"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.1"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

} else if(((i==61)||(i==62))&&(j==13)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :53"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :126.905"<<"\n";gotoxy(21,11);cout<<"Symbol :I"<<"\n";gotoxy(21,12);cout<<"Name :Iodine"<<"\n";

36

Page 37: Computer project

gotoxy(21,13);cout<<"Atomic Radius(in pm) :133"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :10.084"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.66"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

} else if(((i==64)||(i==65))&&(j==13)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :54"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :131.29"<<"\n";gotoxy(21,11);cout<<"Symbol :Xe"<<"\n";gotoxy(21,12);cout<<"Name :Xenon"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :131"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :11.704"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.6"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

//************************************************************************** // PERIOD 6 //**************************************************************************

else if(((i==13)||(i==14))&&(j==15)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :55"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :132.906"<<"\n";gotoxy(21,11);cout<<"Symbol :Cs"<<"\n";gotoxy(21,12);cout<<"Name :Cesium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :265"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :3.757"<<"\n";gotoxy(21,15);cout<<"Electronegativity :0.79"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==16)||(i==17))&&(j==15)) {

clrscr();frame();gotoxy(21,9);

37

Page 38: Computer project

cout<<"Atomic Number :56"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :137.327"<<"\n";gotoxy(21,11);cout<<"Symbol :Ba"<<"\n";gotoxy(21,12);cout<<"Name :Barium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :222"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.029"<<"\n";gotoxy(21,15);cout<<"Electronegativity :0.89"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==19)||(i==20))&&(j==15)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :57"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :138.906"<<"\n";gotoxy(21,11);cout<<"Symbol :La"<<"\n";gotoxy(21,12);cout<<"Name :Lanthanum"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :187"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.831"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.1"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

//************************************************************************** // LANTHANIDE SERIES //**************************************************************************

else if(((i==25)||(i==26))&&(j==21)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :58"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :140.116"<<"\n";gotoxy(21,11);cout<<"Symbol :Ce"<<"\n";gotoxy(21,12);cout<<"Name :Cerium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :182"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.274"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.12"<<"\n";gotoxy(30,20);

38

Page 39: Computer project

cout<<"Press Any Key To Return......";}

else if(((i==28)||(i==29))&&(j==21)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :59"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :140.908"<<"\n";gotoxy(21,11);cout<<"Symbol :Pr"<<"\n";gotoxy(21,12);cout<<"Name :Praseodymium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :182"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.232"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.13"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==31)||(i==32))&&(j==21)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :60"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :144.24"<<"\n";gotoxy(21,11);cout<<"Symbol :Nd"<<"\n";gotoxy(21,12);cout<<"Name :Neodynium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :181"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.296"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.14"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==34)||(i==35))&&(j==21)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :61"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :145"<<"\n";gotoxy(21,11);cout<<"Symbol :Pm"<<"\n";gotoxy(21,12);cout<<"Name :Promethium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :183"<<"\n";

39

Page 40: Computer project

gotoxy(21,14);cout<<"1st Ionisation potential :5.359"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.15"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==37)||(i==38))&&(j==21)) {

clrscr();frame();gotoxy(21,9);cout<< "Atomic Number :62"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :150.36"<<"\n";gotoxy(21,11);cout<<"Symbol :Sm"<<"\n";gotoxy(21,12);cout<<"Name :Samarium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :180"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.433"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.17"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==40)||(i==41))&&(j==21)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :63"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :151.964"<<"\n";gotoxy(21,11);cout<<"Symbol :Eu"<<"\n";gotoxy(21,12);cout<<"Name :Europium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :209"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.467"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.12"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==43)||(i==44))&&(j==21)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :64"<<"\n";

40

Page 41: Computer project

gotoxy(21,10);cout<<"Atomic Mass :157.25"<<"\n";gotoxy(21,11);cout<<"Symbol :Gd"<<"\n";gotoxy(21,12);cout<<"Name :Gadolium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :180"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.926"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.17"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==46)||(i==47))&&(j==21)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :65"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :158.93"<<"\n";gotoxy(21,11);cout<<"Symbol :Tb"<<"\n";gotoxy(21,12);cout<<"Name :Terbium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :177"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.647"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.21"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==49)||(i==50))&&(j==21)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :66"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :162.5"<<"\n";gotoxy(21,11);cout<<"Symbol :Dy"<<"\n";gotoxy(21,12);cout<<"Name :Dysprosium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :178"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.719"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.2"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

41

Page 42: Computer project

else if(((i==52)||(i==53))&&(j==21)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :67"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :164.93"<<"\n";gotoxy(21,11);cout<<"Symbol :Ho"<<"\n";gotoxy(21,12);cout<<"Name :Holmium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :176"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.807"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.23"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==55)||(i==56))&&(j==21)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :68"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :167.26"<<"\n";gotoxy(21,11);cout<<"Symbol :Er"<<"\n";gotoxy(21,12);cout<<"Name :Erbium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :176"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :588.7"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.24"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==58)||(i==59))&&(j==21)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :69"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :168.934"<<"\n";gotoxy(21,11);cout<<"Symbol :Tm"<<"\n";gotoxy(21,12);cout<<"Name :Thulium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :176"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.967"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.25"<<"\n";

42

Page 43: Computer project

gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==61)||(i==62))&&(j==21)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :70"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :173.04"<<"\n";gotoxy(21,11);cout<<"Symbol :Yb"<<"\n";gotoxy(21,12);cout<<"Name :Ytterbium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :193"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :603.4"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.27"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==64)||(i==65))&&(j==21)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :71"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :174.967"<<"\n";gotoxy(21,11);cout<<"Symbol :Lu"<<"\n";gotoxy(21,12);cout<<"Name :Lutetium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :174"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.236"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.27"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

//************************************************************************** // PERIOD 6 .... CONTINUED //**************************************************************************

else if(((i==22)||(i==23))&&(j==15)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :72"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :178.49"<<"\n";gotoxy(21,11);cout<<"Symbol :Hf"<<"\n";

43

Page 44: Computer project

gotoxy(21,12);cout<<"Name :Hafnium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :159"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :6.80"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.3"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==25)||(i==26))&&(j==15)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :73"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :190.948"<<"\n";gotoxy(21,11);cout<<"Symbol :Ta"<<"\n";gotoxy(21,12);cout<<"Name :Tantalum"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :146"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :7.61"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.5"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==28)||(i==29))&&(j==15)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :74"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :183.84"<<"\n";gotoxy(21,11);cout<<"Symbol :W"<<"\n";gotoxy(21,12);cout<<"Name :Tungsten"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :139"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :7.70"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.36"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==31)||(i==32))&&(j==15)) {

clrscr();frame();

44

Page 45: Computer project

gotoxy(21,9);cout<<"Atomic Number :75"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :186.207"<<"\n";gotoxy(21,11);cout<<"Symbol :Re"<<"\n";gotoxy(21,12);cout<<"Name :Rhenium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :137"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :7.60"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.9"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==34)||(i==35))&&(j==15)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :76"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :190.23"<<"\n";gotoxy(21,11);cout<<"Symbol :Os"<<"\n";gotoxy(21,12);cout<<"Name :Osmium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :135"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :8.4"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.2"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==37)||(i==38))&&(j==15)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :77"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :192.217"<<"\n";gotoxy(21,11);cout<<"Symbol :Ir"<<"\n";gotoxy(21,12);cout<<"Name :Iridium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :136"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :8.8"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.2"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}else if(((i==40)||(i==41))&&(j==15)) {

clrscr();

45

Page 46: Computer project

frame();gotoxy(21,9);cout<<"Atomic Number :78"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :195.078"<<"\n";gotoxy(21,11);cout<<"Symbol :Pt"<<"\n";gotoxy(21,12);cout<<"Name :Platinum"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :139"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :8.70"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.28"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

} else if(((i==43)||(i==44))&&(j==15)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :79"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :196.967"<<"\n";gotoxy(21,11);cout<<"Symbol :Au"<<"\n";gotoxy(21,12);cout<<"Name :Gold"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :144"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :8.901"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.54"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

} else if(((i==46)||(i==47))&&(j==15)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :80"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :200.59"<<"\n";gotoxy(21,11);cout<<"Symbol :Hg"<<"\n";gotoxy(21,12);cout<<"Name :Mercury"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :151"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :10.07"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

} else if(((i==49)||(i==50))&&(j==15)) {

46

Page 47: Computer project

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :81"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :204.238"<<"\n";gotoxy(21,11);cout<<"Symbol :Tl"<<"\n";gotoxy(21,12);cout<<"Name :Thallium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :170"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.894"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.83"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

} else if(((i==52)||(i==53))&&(j==15)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :82"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :207.2"<<"\n";gotoxy(21,11);cout<<"Symbol :Pb"<<"\n";gotoxy(21,12);cout<<"Name :Lead"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :146"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :7.156"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.1"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

} else if(((i==55)||(i==56))&&(j==15)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :83"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :208.98"<<"\n";gotoxy(21,11);cout<<"Symbol :Bi"<<"\n";gotoxy(21,12);cout<<"Name :Bismuth"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :150"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :7.033"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.02"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

} else if(((i==58)||(i==59))&&(j==15))

47

Page 48: Computer project

{clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :84"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :209"<<"\n";gotoxy(21,11);cout<<"Symbol :Po"<<"\n";gotoxy(21,12);cout<<"Name :Polonium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :168"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :8.12"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}else if(((i==61)||(i==62))&&(j==15)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :85"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :210.0"<<"\n";gotoxy(21,11);cout<<"Symbol :At"<<"\n";gotoxy(21,12);cout<<"Name :Astatine"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :----"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :8.90"<<"\n";gotoxy(21,15);cout<<"Electronegativity :2.2"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

} else if(((i==64)||(i==65))&&(j==15)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :86"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :222"<<"\n";gotoxy(21,11);cout<<"Symbol :Rn"<<"\n";gotoxy(21,12);cout<<"Name :Radon"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :---"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :10.37"<<"\n";gotoxy(21,15);cout<<"Electronegativity :----"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

48

Page 49: Computer project

//************************************************************************* // PERIOD 7 //*************************************************************************

else if(((i==13)||(i==14))&&(j==17)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :87"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :223"<<"\n";gotoxy(21,11);cout<<"Symbol :Fr"<<"\n";gotoxy(21,12);cout<<"Name :Francium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :----"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :3.84"<<"\n";gotoxy(21,15);cout<<"Electronegativity :0.7"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==16)||(i==17))&&(j==17)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :88"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :226"<<"\n";gotoxy(21,11);cout<<"Symbol :Ra"<<"\n";gotoxy(21,12);cout<<"Name :Radium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :----"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.094"<<"\n";gotoxy(21,15);cout<<"Electronegativity :0.9"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==19)||(i==20))&&(j==17)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :89"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :227"<<"\n";gotoxy(21,11);cout<<"Symbol :Ac"<<"\n";gotoxy(21,12);cout<<"Name :Actinium"<<"\n";gotoxy(21,13);

49

Page 50: Computer project

cout<<"Atomic Radius(in pm) :----"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :4.99"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.1"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

//************************************************************************** // ACTINIDE SERIES //**************************************************************************

else if(((i==25)||(i==26))&&(j==23)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :90"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :232.038"<<"\n";gotoxy(21,11);cout<<"Symbol :Th"<<"\n";gotoxy(21,12);cout<<"Name :Thorium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :179"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.87"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.3"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";}

else if(((i==28)||(i==29))&&(j==23)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :91"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :231.036"<<"\n";gotoxy(21,11);cout<<"Symbol :Pa"<<"\n";gotoxy(21,12);cout<<"Name :Protactium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :163"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.68"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.5"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==31)||(i==32))&&(j==23)) {

clrscr();

50

Page 51: Computer project

frame();gotoxy(21,9);cout<<"Atomic Number :92"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :238.029"<<"\n";gotoxy(21,11);cout<<"Symbol :U"<<"\n";gotoxy(21,12);cout<<"Name :Uranium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :154"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.84"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.7"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==34)||(i==35))&&(j==23)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :93"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :237"<<"\n";gotoxy(21,11);cout<<"Symbol :Np"<<"\n";gotoxy(21,12);cout<<"Name :Neptunium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :155"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.97"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.3"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==37)||(i==38))&&(j==23)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :94"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :244"<<"\n";gotoxy(21,11);cout<<"Symbol :Pu"<<"\n";gotoxy(21,12);cout<<"Name :Plutonium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :159"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.97"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.3"<<"\n";

51

Page 52: Computer project

gotoxy(30,20);cout<<"Press Any Key To Return......";

}else if(((i==40)||(i==41))&&(j==23)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :95"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :243"<<"\n";gotoxy(21,11);cout<<"Symbol :Am"<<"\n";gotoxy(21,12);cout<<"Name :Americium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :173"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.78"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.3"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}else if(((i==42)||(i==44))&&(j==23)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :96"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :247"<<"\n";gotoxy(21,11);cout<<"Symbol :Cm"<<"\n";gotoxy(21,12);cout<<"Name :Curium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :174"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :5.81"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.3"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

} else if(((i==46)||(i==47))&&(j==23)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :97"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :247"<<"\n";gotoxy(21,11);cout<<"Symbol :Bk"<<"\n";gotoxy(21,12);cout<<"Name :Berkelium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :170"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :6.01"<<"\n";gotoxy(21,15);

52

Page 53: Computer project

cout<<"Electronegativity :1.3"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

} else if(((i==49)||(i==50))&&(j==23)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :98"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :251"<<"\n";gotoxy(21,11);cout<<"Symbol :Cf"<<"\n";gotoxy(21,12);cout<<"Name :Californium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :186"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :6.19"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.3"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

} else if(((i==52)||(i==53))&&(j==23)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :99"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :252"<<"\n";gotoxy(21,11);cout<<"Symbol :Es"<<"\n";gotoxy(21,12);cout<<"Name :Einsteinium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :186"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :6.19"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.3"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

} else if(((i==55)||(i==56))&&(j==23)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :100"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :257"<<"\n";gotoxy(21,11);cout<<"Symbol :Fm"<<"\n";gotoxy(21,12);cout<<"Name :Fermium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :----"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :6.27"<<"\n";

53

Page 54: Computer project

gotoxy(21,15);cout<<"Electronegativity :1.3"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}else if(((i==58)||(i==59))&&(j==23)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :101"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :258"<<"\n";gotoxy(21,11);cout<<"Symbol :Md"<<"\n";gotoxy(21,12);cout<<"Name :Mendelevium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :----"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :6.35"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.3"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

} else if(((i==61)||(i==62))&&(j==23)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :102"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :259"<<"\n";gotoxy(21,11);cout<<"Symbol :No"<<"\n";gotoxy(21,12);cout<<"Name :Nobelium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :----"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :6.42"<<"\n";gotoxy(21,15);cout<<"Electronegativity :1.3"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

} else if(((i==64)||(i==65))&&(j==23)) { clrscr(); frame(); gotoxy(21,9); cout<<"Atomic Number :103"<<"\n"; gotoxy(21,10); cout<<"Atomic Mass :262.0"<<"\n"; gotoxy(21,11); cout<<"Symbol :Lr"<<"\n"; gotoxy(21,12); cout<<"Name :Lawrencium"<<" \n"; gotoxy(21,13); cout<<"Atomic Radius :---"<<"\n"; gotoxy(21,14);

54

Page 55: Computer project

cout<<"1st Ionisation Potential:6.416"<<"\n"; gotoxy(21,15); cout<<"Electonegativity :1.2"<<"\n"; gotoxy(30,20); cout<<"Press Any Key To Return....."; }

//***************************************************************************// PERIOD 7.... CONTINUED//***************************************************************************

else if(((i==22)||(i==23))&&(j==17)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :104"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :261"<<"\n";gotoxy(21,11);cout<<"Symbol :Rf"<<"\n";gotoxy(21,12);cout<<"Name :Rutherfordium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :----"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :4.90"<<"\n";gotoxy(21,15);cout<<"Electronegativity :----"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==25)||(i==26))&&(j==17)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :105"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :262"<<"\n";gotoxy(21,11);cout<<"Symbol :Db"<<"\n";gotoxy(21,12);cout<<"Name :Dubnium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :----"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :----"<<"\n";gotoxy(21,15);cout<<"Electronegativity :----"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==28)||(i==29))&&(j==17)) {

clrscr();frame();gotoxy(21,9);

55

Page 56: Computer project

cout<<"Atomic Number :106"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :263"<<"\n";gotoxy(21,11);cout<<"Symbol :Sg"<<"\n";gotoxy(21,12);cout<<"Name :Seaborgium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :----"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :----"<<"\n";gotoxy(21,15);cout<<"Electronegativity :----"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==31)||(i==32))&&(j==17)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :107"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :262"<<"\n";gotoxy(21,11);cout<<"Symbol :Bh"<<"\n";gotoxy(21,12);cout<<"Name :Bohrium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :----"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :7.40"<<"\n";gotoxy(21,15);cout<<"Electronegativity :----"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==34)||(i==35))&&(j==17)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :108"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :265"<<"\n";gotoxy(21,11);cout<<"Symbol :Hs"<<"\n";gotoxy(21,12);cout<<"Name :Hassium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :----"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :----"<<"\n";gotoxy(21,15);cout<<"Electronegativity :----"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

56

Page 57: Computer project

else if(((i==37)||(i==38))&&(j==17)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :109"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :266"<<"\n";gotoxy(21,11);cout<<"Symbol :Mt"<<"\n";gotoxy(21,12);cout<<"Name :Meitnerium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :----"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :----"<<"\n";gotoxy(21,15);cout<<"Electronegativity :----"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==40)||(i==41))&&(j==17)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :110"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :271"<<"\n";gotoxy(21,11);cout<<"Symbol :Ds"<<"\n";gotoxy(21,12);cout<<"Name :Darmstadtium"<<"\n";gotoxy(21,13);cout<<"Atomic Radius(in pm) :----"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :----"<<"\n";gotoxy(21,15);cout<<"Electronegativity :----"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

else if(((i==43)||(i==44))&&(j==17)) {

clrscr();frame();gotoxy(21,9);cout<<"Atomic Number :111"<<"\n";gotoxy(21,10);cout<<"Atomic Mass :272"<<"\n";gotoxy(21,11);cout<<"Symbol :Rg"<<"\n";gotoxy(21,12);cout<<"Name :Roentgenium"<<"\n";

57

Page 58: Computer project

gotoxy(21,13);cout<<"Atomic Radius(in pm) :----"<<"\n";gotoxy(21,14);cout<<"1st Ionisation potential :----"<<"\n";gotoxy(21,15);cout<<"Electronegativity :----"<<"\n";gotoxy(30,20);cout<<"Press Any Key To Return......";

}

char key;key=getch();if(key==27) exit(0);else display();}

58

Page 59: Computer project

FIG 1:- This is main display window showing the project name and The source code developer's Name, Class and Roll number.

59

Page 60: Computer project

FIG 2:- This is the output display window of periodic table showing all the elements from Atomic number (1-111).

60

Page 61: Computer project

FIG 3:- Output window displaying the 1st element of the Periodic Table - - Hydrogen.

FIG 4:- Output window displaying one of the costliest ornamental metal - - Platinum.

61

Page 62: Computer project

For creating this project I have taken help from Mr. S. Pal our computer sir and also from our text book written by Sumita Arora.For creating this project I have gone through the following websites.

a) www.c++blogspot.com b) www.cplusplus.com c) www.icbse.com d) projects .icbse.com/subject/cpp e) projects.icbse.com

These are very helpful websites as they are having sample project.

62

Page 63: Computer project

Remarks

63