Changes

Jump to: navigation, search

The Real A Team

2 bytes added, 11:38, 5 April 2016
Full Program
val t1WordCount = text1.flatMap(line => line.split(" ")).count()
val t1SentenceCount = text1.flatMap(line => line.split("")).filter(character => character === ".").count()

Navigation menu