0

Hey guys, Im new here so I hope this post is in the right spot. Im trying to get my code to callout to the other functions. When I debug the code, it only executes the Int Main section of my code. Can someone help me out and explain how to get the program to run fully. not just the last section.

-----------------------------------------------

```
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int count_digits()
{
int numerator, denominator, max_digit;
printf("Enter how many digits are in numerator: ");
scanf("%d", &numerator);
printf("Enter how may digits are in denominator: ");
scanf("%d", &denominator);
printf("Enter the larger number of the two: ");
scanf("%d", max_digit);
return EXIT_SUCCESS;
}
int print_line()
{
int numerator;
int max_digit;
printf("Enter in max_digit value\n");
do
{
printf("%lf - %i\n",max_digit);
}while (max_digit==numerator);
return EXIT_SUCCESS;
}
int main()
{
int numerator, denominator;
printf("Please input two integers for the variables:\n");
scanf("%d %d", &numerator, &denominator);
void print_fraction (int numerator, int denominator);
printf("The resulting two dimensional form is: %d");
return EXIT_SUCCESS;
}
```

*Edited 6 Years Ago by Nick Evan*: added code tags