F# Program to display "Hello, World!"


This content was proof-read by Grammarly. You can Try Grammary for FREE

Problem

Write a program in F# to display “Hello, World!” on the screen.

F# Program to display “Hello, World!” in Console Window.

This is a simple F# program that displays “Hello, World!” on the console window.

// Program to display Hello,World! by Abundantcode.com

[<EntryPoint>]
let main argv = 
    printfn "Hello, World!"
    0 // return an integer exit code

Output

Hello, World!

Newsletter Signup

Subscribe to our weekly newsletter below and never miss the latest product or an exclusive offer.

Newsletter Signup

Subscribe to our weekly newsletter below and never miss the latest product or an exclusive offer.

%d bloggers like this: