Q
codeup 1068


C code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| #include <stdio.h>
int main(void) { int a; scanf("%d",&a); if(a <= 100 && a >= 90) printf("A"); if(a <= 89 && a >= 70) printf("B"); if(a <= 69 && a >= 40) printf("C"); if(a <= 39 && a >= 0) printf("D"); return 0; }
|
Author:
Slay
Permalink:
http://sean-baek.github.io/2023/04/28/codeup-1068/
License:
Copyright (c) 2021 CC-BY-NC-4.0 LICENSE
Slogan:
Do you believe in DESTINY?