samedi 20 juillet 2019

How to Replace 7 different characters with other 7 characters in c++?

I've 7 special characters '+', '-','%','!','@','#','$'. I want to replace all above 7 characters with 7 different numbers. '1','2','3','4','5','6','7'.

e.g. Input: add + subtract - Output : add 1 subtract 2

Aucun commentaire:

Enregistrer un commentaire