What is wrong with this code?

```
int Money4Me( int dollars )
{
int pennies, coins;
coins = dollars * 100;
}

```

A. The function name is invalid.
B. There is no return type.
C. You can’t have math statements inside a function.
D. Nothing is wrong with it.


B. There is no return type.

Computer Science & Information Technology

You might also like to view...

One rule of ____________________ is that Access prevents the primary key from being changed in the primary table of a relationship if a matching record exists in a related table.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Users can interact directly with the OS through a user interface such as a command language or a(n) ____.

A. GUI B. API C. DLL D. DBMS

Computer Science & Information Technology

Which of the following is a best practice when setting up a client to use the LDAPS protocol with a server?

A. The client should follow LDAP referrals to other secure servers on the network B. The client should trust the CA that signed the server's certificate C. The client should present a self-signed certificate to the server D. The client should have access to port 389 on the server

Computer Science & Information Technology

Briefly explain what tabs are used for.

What will be an ideal response?

Computer Science & Information Technology