{"id":20766908,"url":"https://github.com/rezapace/c--program","last_synced_at":"2025-07-19T22:40:41.152Z","repository":{"id":138790463,"uuid":"580769385","full_name":"rezapace/c--program","owner":"rezapace","description":"This repository contains a collection of simple C programs designed to demonstrate various basic programming concepts. Each program is described below with its functionality and expected output.","archived":false,"fork":false,"pushed_at":"2024-09-01T00:26:16.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T06:27:54.873Z","etag":null,"topics":["bahasa","c","git-reza","kuliah-malam","kumal-projek","webkumal"],"latest_commit_sha":null,"homepage":"https://www.webkumal.com/","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/rezapace.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}},"created_at":"2022-12-21T12:01:26.000Z","updated_at":"2024-09-01T00:26:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd4fd2bb-fe0f-465b-b919-5f156e597f5e","html_url":"https://github.com/rezapace/c--program","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezapace%2Fc--program","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezapace%2Fc--program/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezapace%2Fc--program/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezapace%2Fc--program/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rezapace","download_url":"https://codeload.github.com/rezapace/c--program/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243094518,"owners_count":20235527,"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","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":["bahasa","c","git-reza","kuliah-malam","kumal-projek","webkumal"],"created_at":"2024-11-17T11:26:42.846Z","updated_at":"2025-03-11T18:51:00.106Z","avatar_url":"https://github.com/rezapace.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple C Programs\n\nThis repository contains a collection of simple C programs designed to demonstrate various basic programming concepts. Each program is described below with its functionality and expected output.\n\n## Program 1: Conditional Branching in C\n- **Description**: Determines the grade based on the score.\n- **Conditions**:\n  - If the score is less than or equal to 40, the grade is D.\n  - If the score is less than or equal to 60, the grade is C.\n  - If the score is less than or equal to 80, the grade is B.\n  - Otherwise, the grade is A.\n\n## Program 2: Output Program\n- **Description**: Displays a specific message.\n- **Output**:\n  - \"Your score is 50\"\n  - \"Sorry, you did not pass\"\n\n## Program 3: Odd Numbers from 1 to 100\n- **Description**: Prints all odd numbers between 1 and 100.\n\n## Program 4: Triangle Area Calculator\n- **Description**: Calculates the area of a triangle.\n- **Parameters**:\n  - Base\n  - Height\n\n## Program 5: String Character Count\n- **Description**: Counts the number of characters in a string.\n- **Input**: The string \"Programmer\".\n\n## Program 6: Triangle Area Calculation\n- **Description**: Calculates the area of a triangle.\n\n## Program 7: Rectangle Area Calculation\n- **Description**: Calculates the area of a rectangle.\n- **Parameters**:\n  - Length\n  - Width\n\n## Program 8: Circle Area Calculation\n- **Description**: Calculates the area of a circle.\n- **Parameters**:\n  - Radius (r = 7)\n  - Pi (π = 3.14)\n\n## Program 9: Even Numbers from 1 to 75\n- **Description**: Prints all even numbers between 1 and 75.\n\n## Program 10: Days of the Week Array\n- **Description**: Creates an array containing the names of the days of the week.\n- **Example**:\n  - Day 1 is Monday\n  - Day 2 is Tuesday\n\n## Program 11: Fibonacci Sequence\n- **Description**: Outputs the first 5 Fibonacci numbers.\n- **Initial Terms**:\n  - First term = 6\n  - Second term = 9\n\n## Program 12: Right-Angled Triangle with Stars\n- **Description**: Creates a right-angled triangle using stars.\n\n## Program 13: Full Triangle with Stars\n- **Description**: Creates a full triangle using stars.\n\n## Program 14: Simple Calculator\n- **Description**: Implements a basic calculator.\n\n## Program 15: Rectangle Area Calculation\n- **Description**: Calculates the area of a rectangle.\n\n## Program 16: Rectangle Area Calculation\n- **Description**: Calculates the area of a rectangle.\n\n## Program 17: Trigonometric Functions\n- **Description**: Calculates sine, cosine, and tangent values.\n\n## Program 18: Density Calculation\n- **Description**: Calculates the density of a substance.\n\n## Program 19: Counting to One Million\n- **Description**: Counts from 1 to 1,000,000 and displays the record.\n\n## Program 20: Cube Surface Area Calculation\n- **Description**: Calculates the surface area of a cube.\n\n## Program 21: Odd Numbers from 1 to 75\n- **Description**: Prints all odd numbers between 1 and 75.\n\n## Program 22: Data Input and Output\n- **Description**: Demonstrates basic data input and output operations.\n\n---\n\nPowered by Reza","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frezapace%2Fc--program","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frezapace%2Fc--program","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frezapace%2Fc--program/lists"}