Choose statements to complete function printDigits so that it prints the digits of a positive integer in their normal left-to-right order separated by two asterisks.

```
void printDigits (int n)
{
if (n > 0)
{
___________________
___________________
}
return;
}
a.printDigits (n / 10);
cout << n % 10 << "**";

b. printDigits (n % 10);
cout << n / 10 << "**";

c. cout << n % 10 << "**";
printDigits (n / 10);

d. cout << n / 10 << "**";
printDigits (n % 10);

e. This function cannot perform the task required.

```

a.printDigits (n / 10);
cout << n % 10 << "**";

Computer Science & Information Technology

You might also like to view...

A ________ can propagate over a computer network and does not require an unsuspecting individual to open a file or execute a program or macro.

a. logic bomb b. virus c. worm d. time bomb

Computer Science & Information Technology

What security advantage occurs from a packet's containing the source NIC address and not just the destination NIC address?

What will be an ideal response?

Computer Science & Information Technology