Posted: November 3rd, 2015

COMPUTER SCIENCE

COMPUTER SCIENCE

Repeatedly query the user for positive integer and determine the following for
each value:
a. Is the value a multiple of 7, 11, or 13? (Yes or No)
b. Is the sum of the digits of the integer even or odd?
c. Is the value a prime number? (Yes or No)

Main must prompt the user for the value and pass that value to a single function which computes the answers to all three questions, returning the three results to main as output (reference) parameters. Main then displays the results and queries the user for another value, repeating the process until a sentinel value
is reached. Your solution MUST use a single function with three output (reference) parameters; other solutions will not be accepted

PLACE THIS ORDER OR A SIMILAR ORDER WITH US TODAY AND GET A GOOD DISCOUNT 🙂

Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Live Chat+1-631-333-0101EmailWhatsApp