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
~11.5K People Reached
Favorite Tags
c++ x 2
Member Avatar for c++help

i have a program that has one little glitch but i dont know how to fix it. If you can help it would be great. [b][code][/b] int main() { int a, b, c; b=0; c=0; do { cout << "Please enter a positive integer (negative integer to stop):"<< ' '; …

Member Avatar for vishakha_3
0
11K
Member Avatar for Joedanica

idk why my program is not working, i wanted to create a program that counts even and odd number when a user inputs number except 0. Zero is the terminator of the loop. #include <stdio.h> int main(){ int entNum, ans; int even; int odd; do{ even=0; odd=0; scanf("%d",&entNum); ans = …

Member Avatar for Reverend Jim
0
286