C is the first language most Computer Science students get to learn in a learning setting. This repository consists of the coursework required in learning C at my University, and mini projects that I developed along the way.
Coursework
- Introduction to the Language
- Program Structure
- Basic Syntax
- Data Types
- Variables
- Constants
- Storage Classes
- Operators
- Decision Making
- Loops
- Functions
- Scope Rules
- Arrays
- Pointers
- Strings
- Structures
- Unions
- Bit Fields
- TypeDef
- Input & Output
- File I/O
- Preprocessors
- Header Files
- Type Casting
- Error Handling
- Recursion
- Variable Arguments
- Memory Management
- Command Line Arguments
https://www.tutorialspoint.com/cprogramming/index.htm
Code
- Volume of Sphere Calculator Q. Write a program that computes the volume of sphere with a 10-meter radius, using the formula v = 4/3pir^3
- Modification of 1 Q. Accepts radius value from the user
- Dollar-and-cents Q. Write a program that asks the user to enter a dollars-and-cents amount, and displays the amount with 5% tax added to it
- Polynomial Function Evaluator Q. Prompts user to enter a value for x, of which the x value will be substituted into the polynomial equation and 3x^5 - 2x^4 - 5x^3 - x^2 + 7x -6 and outputs the calculated value.
- US Dollar Value Q. Asks user to enter a US Dollar value ranging from 0-20, it then shows how to pay that amount using the smallest number of $20, $10, $5, $1 bills
- Date Formatter Q. Accept a date from user and format it as yyyymmdd
- Tabbed View Q. Accepts values for item number, unit price, and year from user and displays it in tabbed view
- SLL/USD - USD/SL Currency Converter Q. Accepts exchange rate and amount value from user and converts into selected base rate.
K.N King A Modern Approach - 2nd Edition