- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
6 Posted Topics
Re: Your loop design is slightly off. b will be incremented on the first iteration of the outer loop. But then b = 1. So the condition b>=1 is true. The program then executes the body of that if statement starting with the [CODE]if(land[a][b-1]==1) land[a][b]=1;[/CODE] statement. This statement will continue to … | |
Hi, I am working on a small program that converts English to Morse code and back into English. The input is read from a file specified by the user no matter which way the conversion is going. I figured out the english to morse conversion pretty easily, by just reading … | |
Hi there! I am working on a simple text based console application for a game of battleship. I am not really looking for a raw code just ideas on where to go next with my code. Some things i would like to put in it that I am flat out … | |
Re: Ya basically you need to call the local variable temperature not the parameter from the original function. And if you want to keep going through conversions as the user states, you can just use a for loop and and if and else statement. I used: [CODE]def main(): fahrenheit2celsius() for i … | |
Hi there, Im writing a program that takes a function and makes a plot of it. the program consists of 2 functions and each creates its own GraphWin. However i want to have a mouse click at the end close both windows. So i returned the window from the first … | |
Hi, I am fairly new at the whole programming racket and I am having trouble with an assignment for my computer science class. I know homework help is discouraged, I read that sticky, but I'm curious if I am missing a fairly simple mistake. The assignment is to make a … |
The End.