Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 398 Weeks Ago, 6 Days Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Computer Science Posted 16 Sep 2017 My Price 10.00

cricket fever

As the cricket fever is on,you are given the task of calculating the run rate of a cricket match,but you are only provided with overs completed , current run rate and runs scored in next over.So you have to calculate the new run rate correctly upto two decimal places.

 

Input

 

  • The first line of the input contains an integer T denoting the number of test cases. The description of T test cases follows.
  • The first line of each test case contains three space-separated integers O R S
  • O denotes overs completed, R denotes current run rate and S denotes runs scored in next over.

 

Output

 

Print the new run rate correctly upto two decimal places

 

Constraints

 

  • 1 = T = 1000
  • 1 = O = 50
  • 1 = R = 36
  • 1 = S = 36

 

Example

Input: 1 16 6 8 Output: 6.12
q2

Arora is a content person because, his name can be spelt the same, when seen from both left and right sides, ie. a palindrome. Seeing this, his friend, gagan, also wanted to have something unique about his name. So, he finds out, that by changing a single letter of his name(gaga'g'), his name also becomes a palindrome. Arora has many other friends and want to find out the same. They seek your help, to find out if the same can happen with their names. Remember, just a single digit can be changed.

 

Input

 

Input description.

 

    • The first line of the input contains an integer T denoting the number of test cases.

Next T lines contains a string S consisting of lowercase alphabets.

 

Output

 

Print 'yes' (without quotes) if it is possible, else 'no'.

 

Constraints

 

  • 1 = T = 100
  • 1 = S = 1000

 

Example

Input: 2 arora abcd Output: yes no

Answers

(5)
Status NEW Posted 16 Sep 2017 01:09 PM My Price 10.00

Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll

Not Rated(0)