Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sum and Difference of Ages

Given the ages of two children print their sum and difference in the following format

let firstChild = 10;
let secondChild = 5;
// write the expression here
should print "The sum of the ages is 15 and the difference is 5"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment