Code for calculating large numbers. Please rate if there are any unnatural parts
#include <stdio.h> #include <string.h> #include <stdlib.h> int compare(char* num1, char* num2) { int length1 = strlen(num1); int length2 = strlen(num2); if (length1 < length2) { return 1; } else if (length1 > length2) { return 0; } else { for (int i = 0; i < length1; i++) { if (num1[i] < num2[i]) { return […]