Copy of Circumference of circle



    alexis walter

    Cpp recipes

    The code calculates the circumference of a circle with radius r. The circumference of a circle is found to be equal to 222r/7.

    int circumference(int r)
      int circumference = (2*22*r)/7;
      return circumference;
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.