This repository contains programs for ES-CS201 and ES-CS291 under MAKAUT. All programs must follow the syllabus given below (as of 2023).
To get a copy of these programs up and running on your local machine, simply clone this repository:
git clone https://github.com/ArchismwanChatterjee/C
if you are scared of CLI don't worry we got you covered
You will need the following tools installed on your system to run these programs:
-
Any Code Editor you like we prefer VS Code
-
setup C compiler, we prefer MinGW
You can follow this tutorial to install gcc in vscode for windows
-
Lastly make sure you have prettier extension installed in vscode for formatting here is how you can do it
you are now ready to contribute ;)
-
Navigate to the specified folder the format is section name and then day name
(any extra programs should be written in the extra folder under the specified concept)
Example:
A/D1 would contain Section A Day 1 programs
-
Write the question using comment lines and then code if possible display the result in comment lines.
Example
// Convert Farenheit to Celcius
#include <stdio.h>
int main()
{
float fahrenheit, celcius;
printf("Enter temp in farenheit\n");
scanf("%f", &fahrenheit);
celcius = (5.0 / 9) * (fahrenheit - 32);
printf("The temperature in celcius is %f °", celcius);
return 0;
}
/*
Enter temp in farenheit
32
The temperature in celcius is 0.000000
*/
-
Use suitable comment lines.
-
There's no restriction on your approach to solve.
-
Maintain readability(use appropriate variable names and comments)
check out