Anjin Yahya Jonathan Hendel's Blog
01 April 2017
evenDigitsOnly
My solution:
bool
evenDigitsOnly(
int
n) {
return
n.ToString().All(c =>
int
.Parse(c.ToString()) % 2 == 0); }
Previous
Next
Newer Post
Older Post
Home
Datenschutzerklärung
Impressum