{"size": 445, "ext": "js", "max_stars_repo_path": "Grasshopper - Make change.js", "max_stars_repo_name": "Dnmrk4/codewars-8kyu", "max_stars_repo_stars_event_min_datetime": "2019-02-20T01:21:23.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-05T19:11:40.000Z", "max_issues_repo_path": "Grasshopper - Make change.js", "max_issues_repo_name": "Dnmrk4/codewars-8kyu", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Grasshopper - Make change.js", "max_forks_repo_name": "Dnmrk4/codewars-8kyu", "max_forks_repo_forks_event_min_datetime": "2019-02-28T07:54:42.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-22T01:01:59.000Z"}
{"max_stars_count": 70, "max_issues_count": null, "max_forks_count": 51, "avg_line_length": 18.5416666667, "max_line_length": 143, "alphanum_fraction": 0.7280898876}
/*
Description:
Get change
You go to the store and have a 10 dollar bill to spend. You buy candy, chips, and soda. Find out how much change you get back from the cashier.

Item	Cost
Candy	$1.42
Chips	$2.40
Soda	$1.00
Create 5 variables and use the cost from the table above to set their values.

money
candy
chips
soda
change
*/

const money = 10
const candy = 1.42
const chips = 2.4
const soda = 1
const change = money - (candy + chips + soda)
