How to resolve the algorithm Hello world/Graphical step by step in the ALGOL 68 programming language

Published on 12 May 2024 09:40 PM

How to resolve the algorithm Hello world/Graphical step by step in the ALGOL 68 programming language

Table of Contents

Problem Statement

Display the string       Goodbye, World!       on a GUI object   (alert box, plain window, text area, etc.).

Let's start with the solution:

Step by Step solution about How to resolve the algorithm Hello world/Graphical step by step in the ALGOL 68 programming language

Source code in the algol programming language

BEGIN
   FILE window;
   open (window, "Hello!", stand draw channel);
   draw device (window, "X", "600x400");
   draw erase (window);
   draw move (window, 0.25, 0.5);
   draw colour (window, 1, 0, 0);
   draw text (window, "c", "c", "Goodbye, world!");
   draw show (window);
   close (window)
END

  

You may also check:How to resolve the algorithm One-dimensional cellular automata step by step in the J programming language
You may also check:How to resolve the algorithm Averages/Arithmetic mean step by step in the IDL programming language
You may also check:How to resolve the algorithm Hello world/Newbie step by step in the QB64 programming language
You may also check:How to resolve the algorithm Van der Corput sequence step by step in the Kotlin programming language
You may also check:How to resolve the algorithm Multiplicative order step by step in the Maple programming language