Question: write a C++ program that determine whether a number is ) () . mathematics that in decimal number system even numbers are divisible by 2

 write a C++ program that determine whether a number is )
() . mathematics that in decimal number system even numbers are divisible

write a C++ program that determine whether a number is ) () . mathematics that in decimal number system even numbers are divisible by 2 while odd are not so we may use modulus operator(%) which returns remainder. For example 4%3 gives 1 ( remainder when four is divided by three). Even numbers are of the form 2*p and odd are of the form (2*p+1) where p is is an integer. Write a C++ program that reads an operation ( +, - , *,/) with it's operands and then print the result of the operation

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!