Author |
Message |
michelleLG
|
Posted: Wed Apr 14, 2010 5:52 pm Post subject: Need Help With Turing |
|
|
Hi everyone!!
Im totally new to turing and I have a couple questions i need to do for class. If you could help out, that would be awesome!
10. A homeowner takes out a mortgage for $120000 at 10 3/4% per year. At the end of each year an amount of $24000 is paid. Write a program to show how the
%mortgage is paid off, year by year, until nothing is owned.
11. Write a program to simulate the playing of a simple dice game(one die). Roll the die to get a value from 1-6, and that is your point. Now keep
%rolling until you get the same value(your point) again and see how many rolls it takes. Program it so you can play this game repeatedly.
Ps. I'm working with a normal turing program.
Thanks so much!! ![Very Happy Very Happy](http://compsci.ca/v3/images/smiles/icon_biggrin.gif) |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Insectoid
![](http://compsci.ca/v3/uploads/user_avatars/13760332514cbd0ce972eaa.jpg)
|
Posted: Wed Apr 14, 2010 5:54 pm Post subject: RE:Need Help With Turing |
|
|
I'm sure your teacher has given you all the information you need to be able to create both of these programs. |
|
|
|
|
![](images/spacer.gif) |
TheGuardian001
|
Posted: Wed Apr 14, 2010 6:02 pm Post subject: Re: Need Help With Turing |
|
|
How about you show us what you've done, and what the problems are, and we'll see if we can help you fix it? |
|
|
|
|
![](images/spacer.gif) |
D_homes
![](http://compsci.ca/v3/uploads/user_avatars/14338014624af713596354e.jpg)
|
Posted: Wed Apr 14, 2010 6:47 pm Post subject: RE:Need Help With Turing |
|
|
This isn't a forum for doing people's homework. Pay attention in class and you should be able to write those programs without difficulty. |
|
|
|
|
![](images/spacer.gif) |
SNIPERDUDE
![](http://compsci.ca/v3/uploads/user_avatars/16932914504cbd0ad6ceaf1.jpg)
|
Posted: Wed Apr 14, 2010 8:52 pm Post subject: RE:Need Help With Turing |
|
|
As mentioned earlier, we will not do your work for you.
If you do however have further detailed questions that aren't related to us submitting code for you, fee free to ask.
You can find many great topics and tutorials here in the Turing Walkthrough (link provided). |
|
|
|
|
![](images/spacer.gif) |
Turing_Gamer
![](http://compsci.ca/v3/uploads/user_avatars/8617055374bcc8b48c6d4f.png)
|
Posted: Thu Apr 15, 2010 11:37 am Post subject: RE:Need Help With Turing |
|
|
If you know math symbols and the turing syntax you can accompish it. First, you must try and do the code yourself. If it doesn't work post the code here and we will tell what the problem is and then you fix it. Sorry, but that is protocol here. We can't do your homework, but we can answer questions. |
|
|
|
|
![](images/spacer.gif) |
USEC_OFFICER
![](http://compsci.ca/v3/uploads/user_avatars/16624966004bb548179e82e.png)
|
Posted: Thu Apr 15, 2010 11:42 am Post subject: RE:Need Help With Turing |
|
|
There is a Turing section, you know. Plus you could always look through the Turing section for the ONE MILLION PEOPLE WHO ALREADY HAVE ASKED THIS QUESTION!!! (Hyperbole, I have only seen 2-3) |
|
|
|
|
![](images/spacer.gif) |
ProgrammingFun
![](http://compsci.ca/v3/uploads/user_avatars/11682880074bcb590d30b0a.png)
|
Posted: Thu Apr 15, 2010 3:02 pm Post subject: RE:Need Help With Turing |
|
|
As mentioned earlier, we do not do your homework for you.
BTW, what do you mean by a normal version of turing? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
USEC_OFFICER
![](http://compsci.ca/v3/uploads/user_avatars/16624966004bb548179e82e.png)
|
Posted: Thu Apr 15, 2010 5:00 pm Post subject: RE:Need Help With Turing |
|
|
4.1.1 I assume. |
|
|
|
|
![](images/spacer.gif) |
ProgrammingFun
![](http://compsci.ca/v3/uploads/user_avatars/11682880074bcb590d30b0a.png)
|
Posted: Thu Apr 15, 2010 5:46 pm Post subject: RE:Need Help With Turing |
|
|
Or maybe the 4.0.3 found in schools... |
|
|
|
|
![](images/spacer.gif) |
USEC_OFFICER
![](http://compsci.ca/v3/uploads/user_avatars/16624966004bb548179e82e.png)
|
Posted: Thu Apr 15, 2010 7:43 pm Post subject: RE:Need Help With Turing |
|
|
I m sure my school has 4.1.1. (My apostery key is broken) |
|
|
|
|
![](images/spacer.gif) |
SNIPERDUDE
![](http://compsci.ca/v3/uploads/user_avatars/16932914504cbd0ad6ceaf1.jpg)
|
Posted: Thu Apr 15, 2010 10:24 pm Post subject: RE:Need Help With Turing |
|
|
Your school has a corrupt version that won't compile properly? |
|
|
|
|
![](images/spacer.gif) |
Euphoracle
![](http://compsci.ca/v3/uploads/user_avatars/11170373664bf5f25f636f1.png)
|
Posted: Thu Apr 15, 2010 11:18 pm Post subject: RE:Need Help With Turing |
|
|
It's not corrupt. It works fine, it just doesn't compile. Why you would ever need to compile for school is beyond me anyway. Aren't they supposed to look at the source code? lol |
|
|
|
|
![](images/spacer.gif) |
USEC_OFFICER
![](http://compsci.ca/v3/uploads/user_avatars/16624966004bb548179e82e.png)
|
Posted: Fri Apr 16, 2010 11:38 am Post subject: RE:Need Help With Turing |
|
|
Oops, sorry. I was off by a .1. |
|
|
|
|
![](images/spacer.gif) |
|