Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
c x 16
java x 8
Member Avatar for cdea06

So I just started a "C" class and I've done my first few assignments but I feel like I'm over complicating the codes by using to many if else statements. Here's the assignment and my code. Please let me know what you think: [B]Write a program that asks the user …

Member Avatar for rubberman
0
295
Member Avatar for cdea06

I'm a little stumped on a section of code in my program. I'm trying to take in a string of chars and then store each word within that string separately in an array of strings without using stdtok and then output them with only a single space separating each word, …

Member Avatar for cdea06
0
245
Member Avatar for cdea06

I'm trying to improve the validity checks in my program, but no matter what I do, I can't seem to come up with one that catches the following: 1) If you input "enter" "enter" the program reads it as a valid anagram. 2) if you input all number "33467" "22113" …

Member Avatar for cdea06
0
82
Member Avatar for cdea06

So the project is to write a program (for a beginners C class) that compares 2 words and see if there anagrams of each other. I'm about halfway through the program and it was working fine until i tried to add the IF STATEMENTS with isalpha. What I'm trying to …

Member Avatar for cdea06
0
439
Member Avatar for cdea06

So I was asked to write a code which would take in 2 dates of the format mm/dd/yyyy, validate that they were good dates (including leap years), then output the dates in chronological order. It works as intended for every date I throw at it but it seems way to …

Member Avatar for WaltP
0
143
Member Avatar for cdea06

What i'm trying to do is use a loop that prompts the user to re-enter a new string of numbers if what he previously entered is not within the specified range of 1-16. What I have is not working as expected. What am I doing wrong? [CODE] /* Program assignment …

Member Avatar for WaltP
0
260
Member Avatar for cdea06

Ok this is driving me absolutely crary! I'm trying to add a static method Account consolidate(Account acct1, Account acct2) to my Account class that creates a new account whose balance is the sum of the balances in acct1 and acct2 and closes acct1 and acct2. The new account should be …

Member Avatar for JamesCherrill
0
241
Member Avatar for cdea06

Could someone explain how the flow of control works with a nested for loop? [CODE]for (initialize; condition; increment) for (initialize; condition; increment) statement; [/CODE] I know a single for loop is: initialize --> condition --> statement --> increment--> condition -->.......

Member Avatar for JamesCherrill
0
122
Member Avatar for cdea06

So I'm trying to add a while loop so that the program continues to ask for the user to enter a new string phrase after the previous one is counted until the user enters the phrase "quit". However, for some reason if you enter anything but "quit" it just produces …

Member Avatar for Taywin
0
220