C Programming Fundamentals

Casual Mode - Take your time!

1 / 15
Correct
0
Incorrect
0
Score
0%
Multiple Choice

Which is the actual syntax to find the ratio of boys and girls in C language? (given that float ratio; int boys, girls;)

  1. ratio = boys/girls;
  2. ratio = girls/boys;
  3. ratio = (float) girls/boys;
  4. ratio = (float) boys/girls;
  5. ratio = float boys/girls;
Change Mode