{"id":24482253,"url":"https://github.com/ozzies-code/calcaccumdeprec","last_synced_at":"2025-09-01T06:39:58.476Z","repository":{"id":172837186,"uuid":"649852716","full_name":"ozzies-code/calcAccumDeprec","owner":"ozzies-code","description":"C program that calculates Accumulated Depreciation","archived":false,"fork":false,"pushed_at":"2023-06-05T19:38:20.000Z","size":489,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T23:42:04.271Z","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-06-05T19:29:01.000Z","updated_at":"2023-06-21T15:55:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9ffaef3-2bc5-42a0-970a-4fee54e9a09d","html_url":"https://github.com/ozzies-code/calcAccumDeprec","commit_stats":null,"previous_names":["ozzies-code/calcaccumdeprec"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ozzies-code/calcAccumDeprec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozzies-code%2FcalcAccumDeprec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozzies-code%2FcalcAccumDeprec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozzies-code%2FcalcAccumDeprec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozzies-code%2FcalcAccumDeprec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ozzies-code","download_url":"https://codeload.github.com/ozzies-code/calcAccumDeprec/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozzies-code%2FcalcAccumDeprec/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273082449,"owners_count":25042287,"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-01T02:00:09.058Z","response_time":120,"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:14.674Z","updated_at":"2025-09-01T06:39:58.458Z","avatar_url":"https://github.com/ozzies-code.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# calcAccumDeprec\nC program that calculates Accumulated Depreciation\n#include \u003cstdio.h\u003e\n#include \u003cstdlib.h\u003e\nint main(int argc, char *argv[])\n{\n   double Coste, Deprec,\n          Valor_Recuperacion,\n          Valor_Actual, \n          Acumulado,\n          Valor_Anual;\n\n    int Anio, Vida_Util;\n\n    puts(\"Introduzca coste, valor recuperacion y vida util\");\n    scanf(\"%1f %1f             %d\", \u0026Coste, \u0026Valor_Recuperacion, \u0026Vida_Util);\n\n    puts(\"Introduzca Anio Actual\");\n    scanf(\"%d\", \u0026Anio);\n    Valor_Actual = Coste;\n    Deprec = (Coste-Valor_Recuperacion)/Vida_Util;\n    Acumulado = 0;\n\n    puts(\"Anio Depreciacion Deprec. Acumulada\");\n    while(Anio \u003c Vida_Util)\n    {\n     Acumulado = Acumulado + Deprec;\n     Valor_Actual = Valor_Actual - Deprec;\n     printf(\"Anio: %d, Depreciacion:%.21f, %.21f Acumulada\", Anio, Deprec, Acumulado);\n     Anio = Anio + 1;   \n    }\n\n    system(\"PAUSE\");\t\n    return 0;\n   \n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozzies-code%2Fcalcaccumdeprec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fozzies-code%2Fcalcaccumdeprec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozzies-code%2Fcalcaccumdeprec/lists"}