In a recent homework assignment I ended up calling my functions in an ugly way `uglyReceipt(cashParser(cashInput()))` the program itself worked perfectly but I still felt like I was doing something wrong.

Is calling functions like this bad practice and if so: What should I be doing instead?