We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Functional Programming
- Introduction
- Solve Me First FP
Solve Me First FP
Solve Me First FP
This is an introductory challenge. The purpose of this challenge is to give you a working I/O template in your preferred language. It includes scanning integers from STDIN
, calling a function, returning a value, and printing it to STDOUT
.
Your task is to scan two numbers, and from STDIN
, and print the sum on STDOUT
.
Note: The code has been saved in a template that you can submit if you want.
Input Format
You are given two integers, and on separate lines.
Output Format
Output an integer that denotes
Constraints
Sample Input
2
3
Sample Output
5