cswork / OAOpen practice workspace

PayPayOA #2

Calculate Change

Estimated EasyStatement and editorial — judging is being prepared

Topics (AI-labelled)GreedyStrings

Given 2 non-negative double numbers first representing price of product

Example 1

Input:

pp = 230.0
cash = 500.0

Output:

"Fifty,One Hundred,One Hundred,Twenty"

Explanation: :O

Editorial

Loading solution…