{"id":24482244,"url":"https://github.com/ozzies-code/mediac","last_synced_at":"2025-09-02T13:07:59.312Z","repository":{"id":184919519,"uuid":"672683160","full_name":"ozzies-code/MediaC","owner":"ozzies-code","description":"The C Program calculates the mean or average of 6 numbers, to process and calculate the average value, the While loop is used until all the numbers have been processed for the calculation.","archived":false,"fork":false,"pushed_at":"2023-07-30T22:56:21.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T19:44:55.046Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ozzies-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-30T22:51:18.000Z","updated_at":"2023-07-30T22:55:01.000Z","dependencies_parsed_at":"2023-07-30T23:42:07.910Z","dependency_job_id":null,"html_url":"https://github.com/ozzies-code/MediaC","commit_stats":null,"previous_names":["ozzies-code/mediac"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ozzies-code/MediaC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozzies-code%2FMediaC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozzies-code%2FMediaC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozzies-code%2FMediaC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozzies-code%2FMediaC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ozzies-code","download_url":"https://codeload.github.com/ozzies-code/MediaC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozzies-code%2FMediaC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273287679,"owners_count":25078575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-21T12:13:11.694Z","updated_at":"2025-09-02T13:07:59.289Z","avatar_url":"https://github.com/ozzies-code.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MediaC\nThe C Program calculates the mean or average of 6 numbers, to process and calculate the average value, the While loop is used until all the numbers have been processed for the calculation.\n/*Calculo de la media de 6 numeros*/\n#include \u003cstdio.h\u003e\n#include \u003cstdlib.h\u003e\nint main(int argc, char *argv[])\n{   \n    const int TotalNum = 6;\n    int ContadorNum = 0;\n    float SumaNum = 0;\n    float media;\n\n    printf(\"Introduzca %d numeros\\n\", TotalNum);\n\n    while(ContadorNum \u003c TotalNum) \n    {                                        /*Valores a Procesar*/\n      float numero;\n      scanf(\"%f\", \u0026numero);                  /* Leer siguiente numero*/ \n      SumaNum += numero;                     /* Anadir valor a Acumulador */\n      ++ContadorNum;                         /* Incrementar numeros leidos  */\n    }\n    media = SumaNum/ContadorNum;\n   printf(\"Media: %.2f \\n\", media);\n   system(\"PAUSE\");\t\n   return 0;\n\n    }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozzies-code%2Fmediac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fozzies-code%2Fmediac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozzies-code%2Fmediac/lists"}