diff --git a/TASKS/Task b/TASKS/Task new file mode 100644 index 0000000..0b9cd68 --- /dev/null +++ b/TASKS/Task @@ -0,0 +1,27 @@ +/* Write your program after the comment +Write a program that asks and reads the score of a user +If the score is less than 80, display to the user that they +are not elgible to be enrolled. +If the score is greater than or equal 80, they can be enrolled. +*/ + +#include + +int main() { + int num; + printf("input your score ", num); + scanf("%d",&num); + printf("You input %d", num); + + + if (num < 80) + { + printf("user is not eligile to be enrolled. \n"); + } + else (num >= 80); + { + printf("user is enrolled. \n"); + } + + return 0; +}