HCLTech Interview Question

Strings and arrays and 1dp