Skip to content

Instantly share code, notes, and snippets.

View condini-mastheus's full-sized avatar
🐍
Code charmer

Matheus Condini condini-mastheus

🐍
Code charmer
  • São Paulo, Brazil
View GitHub Profile
@condini-mastheus
condini-mastheus / digitExtraction.c
Created May 24, 2023 00:30
Digit extraction algorithm (variant) implemented in C
#include <stdio.h>
int main() {
// Define and initialize the variable 'n' with a large number
long long n = 12345678901;
// Define and initialize the variable 'counter' with 0
int counter = 0;
// Loop until 'n' is less than 10