Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~765 People Reached
Favorite Forums
Favorite Tags
c x 4
c++ x 4
c# x 3

3 Posted Topics

Member Avatar for qqwushi12345

Your while() condition in the first else statement is (1==1) which is always true. It might be why you are having the problem.

Member Avatar for daviddoria
0
169
Member Avatar for qqwushi12345

[QUOTE=qqwushi12345;1294853]Write a C program to solve the Greatest Common Divisor, according to the brute-force The output should appear as the following example: 1st number = 37 2nd number = 11 The GCD of 37 and 11 is 1. Press any key to continue_ thank you,[/QUOTE] [code=c] #include <iostream> int main() …

Member Avatar for Nick Evan
-1
165
Member Avatar for Weichen

I have input stream problem where my Console::ReadLine() command gets "eaten" when I try to loop my program back to start. Here is the code [code=c] #include "stdafx.h" using namespace System; int factorization(); int main(array<System::String ^> ^args) { int terminate; do{ terminate = factorization(); }while(terminate == 'y' || terminate == …

Member Avatar for Weichen
0
431

The End.