Write a program that reads a single character describing


Question: Write a program that reads a single character describing the chemical symbol of one of the elements H, C, N, O, F and prints the full name of the element.

The full names are given by the following table

H hydrogen

C carbon

N nitrogen

O oxygen

F fluorine

Your program should use the name unknown if the character is not one of the above symbols.

Your program should interact with the user in exactly this manner:

Enter the symbol=> N

The element is nitrogen.

Add comments in code section. Code this program in C++ programming.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a program that reads a single character describing
Reference No:- TGS0947087

Expected delivery within 24 Hours