How to resolve the algorithm Hello world/Line printer step by step in the FreeBASIC programming language
Published on 12 May 2024 09:40 PM
How to resolve the algorithm Hello world/Line printer step by step in the FreeBASIC programming language
Table of Contents
Problem Statement
Cause a line printer attached to the computer to print a line containing the message: Hello World!
A line printer is not the same as standard output. A line printer was an older-style printer which prints one line at a time to a continuous ream of paper. With some systems, a line printer can be any device attached to an appropriate port (such as a parallel port).
Let's start with the solution:
Step by Step solution about How to resolve the algorithm Hello world/Line printer step by step in the FreeBASIC programming language
Source code in the freebasic programming language
' FB 1.05.0 Win64
Open Lpt "Lpt:" As #1 '' prints to default printer
Print #1, "Hello World!"
Close #1
You may also check:How to resolve the algorithm Mandelbrot set step by step in the M4 programming language
You may also check:How to resolve the algorithm Permutations step by step in the Haskell programming language
You may also check:How to resolve the algorithm 15 puzzle game step by step in the Ring programming language
You may also check:How to resolve the algorithm Time a function step by step in the TorqueScript programming language
You may also check:How to resolve the algorithm Averages/Mode step by step in the Racket programming language