What is wrong with this code?
```
void PrinttoScreen( int dollars, int cents)
{
cout << “\n The dollars are << dollars;
cout << “\n The cents are << cents;
return OK
}
```
A. The return type is not void.
B. You can’t return an OK.
C. Both A & B
D. Nothing is wrong with it.
C. Both A & B
You might also like to view...
What is an f-stop?
What will be an ideal response?
After you create a menu bar, you can copy and paste it to the other main pages in your site to save time.
Answer the following statement true (T) or false (F)
Static Web pages involve processing in addition to rendering the formatting ofHTML tags.
Answer the following statement true (T) or false (F)
What does the following print to the screen?
cout << “Hello Students/n”; a. Hello Students b. hello Students c. HELLO STUDENTS d. Hello Students/n