I add two questions more, if anyone can help me. When i type scanf("%c" compound)
and i write HCl, the program says 'overflow'. I know character constants can only accepts one letter, not three (as in HCl). How could i introduce this formula into the computer in order to analyse it's parts? (H and Cl). Also, which is the command that reads this? . I am very newbie in C I only know some commands, the most i've used is while and switch.