COBOL
Accept a number and determine if it is positive, negative, or zero....
if-else
conditions
signed
COBOL
Accept marks (0-100) and display grade: A(90+), B(80-89), C(70-79), D(60-69), F(<60)....
evaluate
grades
conditions
COBOL
Demonstrate nested IF statements and ELSE clause....
if
else
conditional
nested
COBOL
Determine if a year is a leap year....
leap-year
divisibility
date
COBOL
Given three sides, determine triangle type: Equilateral, Isoceles, Scalene, or Invalid....
triangle
geometry
validation
COBOL
Accept a year and determine if it is a leap year....
leap-year
divide
remainder
COBOL
Use EVALUATE for multiple condition checking (like switch-case)....
evaluate
switch
case
conditions
COBOL
Use 88-level condition names for readable conditions....
88-level
condition-name
readable
COBOL
Combine conditions using AND, OR, NOT operators....
and
or
not
complex-conditions