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...

When the interpreter switches the thread back in, that thread continues executing from_________ .

a) the point at which it was switched out of the interpreter. b) the beginning of the run method. c) the beginning of the constructor. d) None of the above.

Computer Science & Information Technology

A security audit tests to ensure that the proper ____ and procedures are in place to handle a potential vulnerability.

A. people B. resources C. policies D. logs

Computer Science & Information Technology

Answer the following statement(s) true (T) or false (F)

1. Tweened frames are not editable. 2. If a frame contains more than one layer with movement or opacity changes, the All Layers options in the Tween dialog box will tween each layer. 3. You can choose to have an animation display just once, a specified number of times, or repeat continuously. 4. Photoshop files that contain animation are smaller than other files. 5. If your animation does not play, your browser might not permit Java controls.

Computer Science & Information Technology

The _____ element is used to contain an image file and can also be used to mark any page content that should stand apart from the main content of an article.

A) ?border B) ?article C) ?image D) ?figure

Computer Science & Information Technology