Skip to content

Instantly share code, notes, and snippets.

View melnaquib's full-sized avatar

Mustafa Elnaquib melnaquib

View GitHub Profile
#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[]) {
(void) argc;
(void) argv;
//stores the last two terms, and the new sum
int terms[] = {1, 2, 3};
//stores indeces used to access the above array,