Join Exercism’s COBOL Track for access to 46 exercises with automatic analysis of your code and personal mentoring, all 100% free.
HELLO * COBOL source code snippet
IDENTIFICATION DIVISION.
PROGRAM-ID. Hello.
DATA DIVISION.
PROCEDURE DIVISION.
DISPLAY "Hello World!"
STOP RUN.
Get better at programming through fun, rewarding coding exercises that test your understanding of concepts with Exercism.
The classical introductory exercise. Just say "Hello, World!".
Bob is a lackadaisical teenager. In conversation, his responses are very limited.
Calculate the number of steps to reach 1 using the Collatz conjecture.
COBOL's type system allows for defining not only the type of a variable but also it's exact size.
COBOL's syntax was designed to look just like English, making it easy to read and understand.
First released in 1959, it's been exhaustively tested and proven to be extremely reliable.
COBOL's decimal arithmetic allows for precise financial calculations without rounding errors.
COBOL is fast and efficient, and it's used for processing millions of bank transactions a day.
It's still evolving and being updated after 60 years, with a new standard revision releasing soon.
Every language has its own way of doing things. COBOL is no different. Our mentors will help you learn to think like a COBOL developer and how to write idiomatic code in COBOL. Once you've solved an exercise, submit it to our volunteer team, and they'll give you hints, ideas, and feedback on how to make it feel more like what you'd normally see in COBOL - they'll help you discover the things you don't know that you don't know.
Learn more about mentoringThe COBOL track on Exercism has 46 exercises to help you write better code. Discover new exercises as you progress and get engrossed in learning new concepts and improving the way you currently write.
See all COBOL exercisesThe best part, it’s 100% free for everyone.