5 Matching Annotations
  1. Nov 2021
    1. V = (4/3)(pi)(r^3)

      Please correct the code.... The formula is right but the correct solution is wrong. Correct solution for this exercice :

      double volume = (4.0/3) pi radius * radius;

      Missing a radius in the calculus.

    1. The answer of this question is incorrect. The code below compile because of the numerical promotion of the char '3' to an int. The program will display the char 'y' without any errors.