Question: I want to have a person run a program on my website.

The program would scan for the computer's model name and manufacture

Would there be any way to achieve this?

Answer: 
You can also use an external API. I really like [scallop API](https://github.com/scallop/scallop)
Try this piece of code. It should work as intended.

```
object Sum {
    def main(args: Array[String]) {
        val lines = io.Source.stdin.getLines
        val numbers = lines.map(_.toInt)
        println(s"Sum: ${numbers.sum}")
    }
}

```

Plus, the correct shortcut to end the input stream is **Ctrl + D**.