Computer Science, asked by kusumanjalisiripurap, 9 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.

Case 1
Case 2
Case 3
Input (stdin)
132575
-5

Output (stdout)

Answers

Answered by patty0611
0

Answer:

what type of incomplete question is this

Answered by pratikkohad1999
0

Answer:

#include<iostream>

using namespace std;

int main()

{

int a,b;

std::cin>>a>>b;

if(b>0)

{

std::cout<<a<<" is eligible for reward.";

}

}

Explanation:

Similar questions