1
Fork 0
mirror of https://github.com/RGBCube/CSAssignments synced 2025-07-26 21:47:46 +00:00
This commit is contained in:
RGBCube 2022-11-05 16:19:31 +03:00
parent df3ebcd560
commit 57f4be66d2
20 changed files with 322 additions and 1681 deletions

View file

@ -1,9 +1,8 @@
name = "example"
name = "Example"
given-date = "3/11/2022"
main-file = "example.c"
description = "This is an example entry for C"
directions = """
Print "Example" 10 times.
"""
[compile]
main-file = "example.c"

View file

@ -2,15 +2,14 @@ name = "C"
description = "C (pronounced like the letter c) is a general-purpose computer programming language"
[colors]
foreground = 0x000000
background = 0x00599d
foreground = "ffffff"
background = "00599d"
[build]
common = "gcc -o {out-file} {main-file}"
[run]
linux = "./{out-file}"
windows = "{out-file}"
common = "{}"
[dependencies]
common = ["gcc"]

View file

@ -1,5 +1,6 @@
name = "star-rating"
name = "Star Rating"
given-date = "30/10/2022"
main-file = "star_rating.c"
description = "A program that takes 21 reviews and calculates the average rating and prints some stars"
directions = """
1. Read in 21 user ratings for a movie.
@ -26,6 +27,3 @@ star, e.g. 14.3% one star, 23.8% two star, etc.
Display this to the screen in a similar manner
to task 4.
"""
[compile]
main-file = "star_rating.c"

View file

@ -1,9 +1,7 @@
name = "example"
given-date = "3/11/2022"
main-file = "example.py"
description = "This is an example entry for CPython"
directions = """
Print "Example" 10 times.
"""
[compile]
main-file = "example.py"

View file

@ -2,13 +2,13 @@ name = "CPython"
description = "Python is a high-level, general-purpose programming language"
[colors]
foreground = 0xfed140
background = 0x3670a0
foreground = "fed140"
background = "3670a0"
[run]
linux = "python3 {main-file}"
windows = "py {main-file}"
unix = "python3 {}"
windows = "py {}"
[dependencies]
linux = ["python3"]
unix = ["python3"]
windows = ["py"]