حل السؤال
حل السؤال 51
import 'dart:io';
void main() {
stdout.write("Enter the grade you obtained: ");
int grade = int.parse(stdin.readLineSync()!);
assert(grade >= 0 && grade <= 100,"Invalid marks. Marks should be between 0 and 100.");
if (grade >= 60) {
print('He passed the course!');
} else {
print('He did not pass the course.');
}
}

