The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 431 Weeks Ago, 6 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
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.
Print the new run rate correctly upto two decimal places
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 description.
Next T lines contains a string S consisting of lowercase alphabets.
Print 'yes' (without quotes) if it is possible, else 'no'.
Input: 2 arora abcd Output: yes no
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