Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 962 Bytes

File metadata and controls

37 lines (25 loc) · 962 Bytes

PeriodicTable

Applying C concept and creating a Periodic-Table.

The Periodc-Table is a tabular display of the chemical elements, which are arranged by atomic number, electron configuration, and recurring chemical properties.

The first 109 elements in the Periodic-Table are available here.

The code is run on Terminal.

To clear the screen,

void clrscr() {
    system("@cls||clear");
}

It checks for the inputs and then performs actions accordingly.

When the code is run using

./a.out

We are free to search on our own.

The details of the element is printed.

The text coulor is changed using,

\033[(31-37)m