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 13
Member Avatar for ScienceNerd

I'm trying to solve a cryptarithmetic puzzle TOO + TOO + TOO + TOO = GOOD using a program. My solution to this, is to use a nested loop for each unique letter (in this case T, O, G, D). The loops would systematically assign the digits from 0-9 to …

Member Avatar for casey.cole.12576
0
2K
Member Avatar for ScienceNerd

I have to make a program that asks to enter the # of boxes bought. Then it should display the amount of the discount and the total cost of the purchase after the discount. Each box retails for $50. The problem I'm having is connecting the if else then function …

Member Avatar for ScienceNerd
0
88
Member Avatar for ScienceNerd

What's wrong with my if else then function? It complies fine (Dev C++) but it doesn't function properly. It displays all the messages together. [code] void data(void) { cout<<"How many hours did you work: "; cin>> total_hours; cout<<"How many days did you work: "; cin>> days; return; } void process …

Member Avatar for mvmalderen
0
140
Member Avatar for ScienceNerd

I’m trying to code a program that displays letters in alphabetical order. It complies but the problem is that when it compiles, the letters [characters] don’t show up. The only thing the text file has is some random letters {A E C B D O). [code=cplusplus] int count(char input_filename[]); void …

Member Avatar for WaltP
0
118
Member Avatar for ScienceNerd

The [B]problem [/B]I have is how to do a switch where I have to call the certain choices. [CODE]int main(void) { do { cout << "Hello there ." << endl; cout << "Select from the menu." << endl; cout << "A gets lyrics." << endl; cout << "B gets artist." …

Member Avatar for daviddoria
0
81
Member Avatar for ScienceNerd

I just started studying structured programming and I was trying to do a If Else then function but the compiler won't let me compile it? #include <iostream> using namespace std; int main (void) { int age; cout << "Enter your age" << end1; cin >> age; if(age > 21) { …

Member Avatar for charleen
0
109
Member Avatar for ScienceNerd

Could someone help me with this? This is the warning message [url]http://s5.tinypic.com/28ilonq.jpg[/url] Variables [url]http://s5.tinypic.com/n1a5fk.jpg[/url] I know it should be an integer for the total_gal_paint, but it keeps giving me that message

Member Avatar for daviddoria
0
118