What is wrong with the following code?

float scores[10], total;

a. Cannot declare regular and array variables together.
b. Arrays must be integers
c. The 10 should be replaced with a variable name, whose value is input from the user
d. Nothing.


d. Nothing.

Computer Science & Information Technology

You might also like to view...

Amazon and Google deliver cloud services to users and are known as ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following terms refers to written words?

A. Text B. Type C. Font D. Typeface

Computer Science & Information Technology

Hard disks are thin, rigid platters covered with a substance that allows data (bits) to be held in the form of magnetized spots.

a. true b. false

Computer Science & Information Technology

What does the following recursive algorithm display?

writeBack(in s:string) if (s is empty) return else { Write the first character of s writeBack(the string beginning at the second character of s) } a. nothing b. the first character of s a number of times equal to the length of s c. the string s d. the string s backward

Computer Science & Information Technology