Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
![](https://s.yimg.com/ag/images/4688/38908032032_e8d262_192sq.jpg)
iHjp
Guys what is this?? 2012?
First earthquake in Haiti, then Chile and Turkey, Volcano in Iceland and now chances of tsunami.. Does that relates to 2012??
14 AnswersAstronomy & Space1 decade agoWhat do you think ? Olympics - Figure Skating -?
is figure skating a spot that could count in olympics. I mean dance is not a sport.
7 AnswersOlympics1 decade agoi Want an essay on knowledge is power?
1 AnswerQuotations1 decade agoPlzzzz help me in C++ programss !!!! 10000 pointss !!!!!!!!?
1) Apparently, not everyone who’s out driving is speeding! So, in order to avoid a lawsuit, you are to update your speeding ticket program from the first assignment as follows: if the person is not speeding, print a message thanking the driver for following the rules. If, however, the person was, in fact speeding, there are two different types of tickets: 1) If the driver was going 20 or less km/h over the limit, the ticket is as before ($50, plus $4 for each kilometre per hour that the driver was caught going over the speed limit), but (and this is a big but!), if the driver was going more than 20 km/h over, the ticket will now be $100 plus $10 per kilometre over!)
2) ) You are to write a “Dice Amusement - Kan One Total Alot? - ” (DAKOTA) program - a computer dice game that will work as follows: The program will begin by asking the user to enter an amount to bet (from $1- $1000). Next, the user is asked to guess the total that will occur when two dice are rolled. The program then “rolls two dice” (using random numbers) and visually displays the result. Then, if the player’s guess was correct, the player wins 10 times their bet; if the player’s guess was wrong, they lose their bet times the difference between their guess and the correct answer. Your program should, of course, print a full description of what happened! And since you now know how to use colours, this program must include some colours! Sample output:
Enter amount of money to bet ($1-$1000) 50
What do you guess the dice roll will be? 9
For your $50 bet, the roll is
************
* *
* 1 *
* *
************
************
* 3 *
* 3 *
* 3 *
************
for a total of 4.
You were wrong - you lost (9-4)*$50= $250 dollars!!! Thanks for your donation!!
Enter amount of money to bet ($1-$1000) 200
What do you guess the dice roll will be? 4
For your $200 bet, the roll is
************
*2 *
* *
* 2 *
************
************
*2 *
* *
* 2 *
************
for a total of 4. You were correct - YOU WIN $200*10 = $2000!!!
3) Remember how much work it was to convert from one base to another? Admit it – when you were doing that first assignment, you wished you had a computer program to do it for you, didn’t you? Well, be careful what you wish for….
You are to write a program that begins by asking the user if they want to convert from (B)inary or (H)exadecimal. After their choice, the user then enters 4 digits of the appropriate base, and your program should then print out that number in the other 2 bases! Here’s what that program might look like, including a special “Back in Black” run:
Do you want to convert from (B)inary or (H)exadecimal? B
What is the first digit? 1
What is the second digit? 0
What is the third digit? 1
What is the fourth digit? 0
1010 in Binary is 10 in Decimal and A in Hexadecimal.
Do you want to convert from (B)inary or (H)exadecimal? H
What is the first digit? A
What is the second digit? C
What is the third digit? D
What is the fourth digit? C
ACDC in Hexadecimal is 44252 in Decimal and 1010110011011100 in Binary.
4) As an attempt to save money, the school decides to replace teachers with computers (as if that were possible!). You are hired to write a program to do the following: Your program begins by asking what level is wanted; a one-letter code must be entered:
CODE NUMBERS USED
E - for Easy 1 - 10
M - for Medium 1 -25
H - for Hard 1 - 100
Your program should then generate two random integers in the appropriate range, and ask the user the sum, both differences, product, both quotients and both remainders of the two numbers. After each question, the user should be told whether they are right or wrong; if they are wrong, the correct answer should be given. After all questions, the user should be given a summary of their results: how many correct out of how many, a percent, and a rating as follows:
Super Nerd
(100%)
Math Whiz
(> 85%)
Doin’ OK
(> 60%)
Watch Out!
(50 - 60%)
Check Vital Signs!
(< 50%)
Of course, kiddies today (especially ones doing Math Quizzes!) are easily distracted, so you must add colours to your program to make it look even cooler!
So, sample output would be:
What level: (E)asy, (M)edium, or (H)ard? M
What is 14 + 8? 22
You are correct!
What is 14 - 8? 7
You are wrong! 14 – 8 = 6.
What is 8 - 14? -6
You are correct!
What is 14 * 8? 112
You are correct!
What is 14 / 8? 6
You are wrong! 14 / 8 = 1.
What is 8 / 14? 1
You are wrong! 8 / 14 = 0.
What is 14 % 8? 6
You are correct!
What is 8 % 14? 8
You are correct!
Overall, you got 5 out of 8 correct for a percentage of 62.5%. Your Rating is: Doin’ OK.
5) Cheque It Out! One of the neat things about being in the computer department of a company is that you control the paycheques! Write a program that asks the user to enter a 4 digit numbe
2 AnswersHomework Help1 decade agoWhy there is less gravitational force on moon ?
6 AnswersAstronomy & Space1 decade agoWhere can I download nhl free full version for pc ?
I want to download nhl 05,06,070,08,09 .free demo or full version. Thankss.
3 AnswersHockey1 decade agoHistory of the formation of earth ? 10 pointsssss?
I want to know the complete history of how earth was formed ??
5 AnswersAstronomy & Space1 decade agoIs dhgate.com safe or not ?
3 AnswersSecurity1 decade agoI need to know that if skype.com safe website or not ?
I want to make free internet calls and i found the website skype.com i want to know that is this website safe or not. Or can u plzzz tell me some other website from where i can make free internet calls ..
7 AnswersOther - Internet1 decade agoHow can I change my user name in hotmail account ?
3 AnswersPassword and sign-in1 decade agoI need help with my project? 10 points !!!!!!!?
My project is about making our own business and i have chosen a chocolate bar. I need to know my target market (segmentation) like demography, and more. I also need to know where can i sell this product and why i chose this place? Also i need to know sales promotion.
3 AnswersSmall Business1 decade agoI need a topic for an argumentive essay, and also an essay.?
6 AnswersPoetry1 decade agoWhen is munnabhai chale america releasing?
2 AnswersMovies1 decade agoWho will win the final of IPL 2009 ?
19 AnswersCricket1 decade agoWhy do people like or hate dogs ?
25 AnswersDogs1 decade agoWhich is the most popular tv show in India ?
11 AnswersComedy1 decade ago