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
Ranked #55.1K
~3K People Reached
Favorite Forums
Favorite Tags

3 Posted Topics

Member Avatar for jdrei

[QUOTE=jdrei;1013487]scratch that..... i think i got it deleted the else on line 20, but more importantly, moved the: if (isPrime == true) cout << i << endl; to the right loop. DOH![/QUOTE] Would also say that you can skip out of 2 early, and then count only odd numbers from …

Member Avatar for VernonDozier
0
2K
Member Avatar for JETFUSION

You need to put the retrtieval of the vote (cin) before the incrementing of the vote. As it stands it will add one to "Other" (Default) before it takes the first vote, and then it will drop the last vote. Pseudocode as it stands now: Loop through votes Add 1 …

Member Avatar for Sky Diploma
0
87
Member Avatar for jen140

[QUOTE=jen140;982538]Hello all. I want to update the field "content" to add the phraze "<br>Aproved by Admin" for every row in the database. How can i do that ? Thanks in advance.[/QUOTE] You can run an UPDATE query that updates a field relative to itself, as an example "UPDATE tbl SET …

Member Avatar for jen140
0
192

The End.