#include <stdio.h>
int main() {
char name[100]; // get name
int score; // get score
// get name
fgets(name
, sizeof(name
), stdin
);
// get score
// show name and score
printf("%s your score %d grade ", name
, score
);
// if function score
if (score >= 80) {
} else if (score >= 70) {
} else if (score >= 60) {
} else if (score >= 50) {
} else {
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGNoYXIgbmFtZVsxMDBdOyAgIC8vIGdldCBuYW1lCiAgICBpbnQgc2NvcmU7ICAgICAgICAvLyBnZXQgc2NvcmUKCiAgICAvLyBnZXQgbmFtZQogICAgcHJpbnRmKCJJbnB1dCBuYW1lOiAiKTsKICAgIGZnZXRzKG5hbWUsIHNpemVvZihuYW1lKSwgc3RkaW4pOwoKICAgIC8vIGdldCBzY29yZQogICAgcHJpbnRmKCJJbnB1dCBzY29yZTogIik7CiAgICBzY2FuZigiJWQiLCAmc2NvcmUpOwoKICAgIC8vIHNob3cgbmFtZSBhbmQgc2NvcmUKICAgIHByaW50ZigiJXMgeW91ciBzY29yZSAlZCBncmFkZSAiLCBuYW1lLCBzY29yZSk7CgogICAgLy8gaWYgZnVuY3Rpb24gc2NvcmUKICAgIGlmIChzY29yZSA+PSA4MCkgewogICAgICAgIHByaW50ZigiQVxuIik7CiAgICB9IGVsc2UgaWYgKHNjb3JlID49IDcwKSB7CiAgICAgICAgcHJpbnRmKCJCXG4iKTsKICAgIH0gZWxzZSBpZiAoc2NvcmUgPj0gNjApIHsKICAgICAgICBwcmludGYoIkNcbiIpOwogICAgfSBlbHNlIGlmIChzY29yZSA+PSA1MCkgewogICAgICAgIHByaW50ZigiRFxuIik7CiAgICB9IGVsc2UgewogICAgICAgIHByaW50ZigiRlxuIik7CiAgICB9CgogICAgcmV0dXJuIDA7Cn0KCg==