No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm having trouble with my program. It randomises the craps results i.e how many games are won or lost on a particular roll. The problem is, it is supposed run 1000 games but it also randomises the number of games too. Usually between 1000 to 1005. I think it is … |
|
I am attempting to write a file matching accounts receivable program. So far I have written the master file that contains the balance of clients and a transaction file that contains the transactions. But I don't know how to match the account numbers of these files so that i can … |
|
I am having trouble reversing the words in a sentence. For example "a line of text" should be printed "text of line a". So far I can only print the last word, it is probably obvious but at the minute i just can't see how to do it. Any help … |
|
I've written a program to produce a random sentence. I'm having trouble converting the first letter of the first word into uppercase. Don't know where to go from here. Can anyone help? [CODE=cplusplus] #include <stdio.h> #include <string.h> #include <time.h> #include <stdlib.h> #include <ctype.h> void firstword( char *article[5], char *sentence[6]); void … |