English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How do you make the program? Write a C++ program that will enter 2 positive integers and will return their greatest common factor (GCF). Use if else statement for the conditional statement and while as the looping statement.

Hope you'll help.. Thanks! ^^

2007-02-15 14:25:08 · 2 answers · asked by pokerface 2 in Computers & Internet Programming & Design

2 answers

check out http://www.pscode.com for great sample codes.

2007-02-15 14:33:15 · answer #1 · answered by Richard H 7 · 0 0

1) WTF is basic C++ 6.0? Does it comple standard C++ or ANSI/ISO C++?
2)Come up with an algorthim, test the logic with data, then code, fix syntax/logic errors, document
3)I can write the program for you, but I charge $65 an hour, I'll round up to an hour.

2007-02-15 14:29:34 · answer #2 · answered by D 4 · 0 0

fedest.com, questions and answers