GE HealthCare interview question

Simple coding test