dimanche 17 octobre 2021

comparing two decimal numbers as a string c++ without using external libraries

Given two strings containing characters in decimal format, compare them and return the large one. Example: "123.12" and "2345.2" should return "2345.2".

Aucun commentaire:

Enregistrer un commentaire