This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cs50.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
#include <string.h> | |
int main(int argc, string argv[]) | |
{ | |
//int number = atoi(argv[1]); // convert the string argv to use it in the if condition | |
// checking if the user use the command line comands correctly or not |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cs50.h> | |
#include <stdio.h> | |
int company0(long long Number); | |
int company1(long long Number); | |
int summation(long long Number, int digit); | |
int main(void) |