Mode:
Duration:
1
2
3
4
5
6
7
8
9
begin
string s, r;
integer i;
s := "Hello";
r := "";
for i := length(s) step -1 until 1 do
r := r + s[i];
print(r);
endCoding works best on desktop or with an external keyboard.
begin
string s, r;
integer i;
s := "Hello";
r := "";
for i := length(s) step -1 until 1 do
r := r + s[i];
print(r);
endCoding works best on desktop or with an external keyboard.
Reverses a string character by character.
begin
string s, r;
integer i;
s := "Hello";
r := "";
for i := length(s) step -1 until 1 do
r := r + s[i];
print(r);
endALGOL (Algorithmic Language) is a family of high-level programming languages designed for scientific computations and algorithm description, known for its structured programming features and influence on modern languages like Pascal, C, and Java.
Origin & Creator
Developed in 1958-1960 by a committee of European and American computer scientists, including Friedrich L. Bauer, John Backus, and Peter Naur.
Industrial Note
ALGOL was the standard language for publishing algorithms in scientific literature for decades and shaped the syntax and structure of many subsequent languages.