Created
April 29, 2020 21:57
-
-
Save kiramishima/fa70b18746688e36f74b4f794202583e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
printfn "Hello World from F#!\n" | |
// Declaracion de variables | |
let a = 5 | |
let b = 5 | |
// Suma | |
let sum = a + b | |
printf "%A\n" sum | |
// Sustracción | |
let sus = a - 3 | |
printf "%A\n" sus | |
// Division | |
let div = a / b | |
printf "%A\n" div | |
// Potencia | |
let pot = 10.0 ** 2.0 | |
printf "%A\n" pot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment