Write a program to get 3 numbers from user for integer variable a, b,and c. if a is not zero, find out whether it is the common divisor of b and c.
memona.ali.5836
0
Newbie Poster
Recommended Answers
Jump to PostDo you know how to code a 'Hello World' C++ program?
Do you know how to get integer user input (using cin) with a prompt for input?
Do you know how to code to test if a is zero ?
Do you know what 7 % 3 is ... in …
All 3 Replies
David W
131
Practically a Posting Shark
zitro10
0
Newbie Poster
David W
131
Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.