Check your typing speed!
Exit Exam
Back to lesson
Section 1
1. Check you typing speed!
Previous Question
QUESTION 1 OF 1
Next Question
Check you typing speed!
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.
Answers
Answered by
1
Answer:
bhai brainly is for asking and answering questions not for announcing about such competitions
Answered by
1
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
English,
4 months ago
Social Sciences,
4 months ago
English,
4 months ago
English,
9 months ago
Math,
9 months ago