Table of Contents
CS50x - Week 1 - Problem Set 1: Credit
For this assignment, I used C to determine what type of credit card a number is based on Luhn's Algorithm and a user's input.
- Clone this repository
- In a terminal, navigate to the directory where you cloned this repository
- Run
./credit.c
- Enter a credit card number
- View which type of credit card your number is out of either:
- Visa
- AMEX
- Mastercard
This project can be improved by:
- Sanitizing the user input
- Learning C. As my second C project, I improved on the basics with this assignment:
- basic function setup
- declaring variables
- loops & conditionals, including nesting conditionals
- printing to the console
Danielle Andrews - @DrAcula_codes - daniellerandrews - danielle.andrews.dev@icloud.com
Project Link: https://github.com/DrAcula27/cash
A special thanks to these resources used in the project!