Computer Science, asked by rugvedkulkarni2017el, 10 months ago

Cicily is organizing a typing competition. Each participant who clears the competition receives a certificate and a cash prize. The initial mark is ten. For each mistake made, one mark is reduced. If the participant's score is an absolute value, he/she will be rewarded. Can you help Cicily to write a program where she enters the id of a participant and the score obtained, and the program should print the result for that candidate.
Id and marks is of integer type.
input (stdin)
22145
3
Output (stdout)
22145 is eligible for reward.
Input (stdin)
132574
1
Output (stdout)
132574 is eligible for reward.
Input (stdin)
132575
-5
Output (stdout)

Answers

Answered by gowrav55
1

Answer:

make me brainer

Explanation:

this is ur question

Cicily is organizing a typing competition. Each participant who clears the competition receives a certificate and a cash prize. The initial mark is ten. For each mistake made, one mark is reduced. If the participant's score is an absolute value, he/she will be rewarded. Can you help Cicily to write a program where she enters the id of a participant and the score obtained, and the program should print the result for that candidate.

Id and marks is of integer type.

input (stdin)

22145

3

Output (stdout)

22145 is eligible for reward.

Input (stdin)

132574

1

Output (stdout)

132574 is eligible for reward.

Input (stdin)

132575

-5

Output (stdout)

Answer i dont know u should refer tb for this

have a nice day

sorry

Similar questions