An Example
This section is meant to illustrate a sample code in ABC and compare it with equivalent code in Python and C.
Function to convert given temperature from Fahrenheit to Celsius
In ABC language.
The same code in Python3.
And in C
The purpose of this example is to illustrate two things: The similarity between ABC and Python and also a glimpse of how ABC is slightly easier to code in compared to C. The second point might not be too obvious because the example is too short to notice the differences.
Last updated