Code:
#include <stdio.h>
int main;
int max;
char M,G,R,Q
int num1
int num2;
int base;
int power;
{
printf("Welcome to Math Helper v0.1, This program is designed to help you wi$
mulipication, exponents, and finding the greatest common divisor.");
printf("Please choose of the following options \n M=Print a muliplication ta$
G-Find the Greatest common divisor \n R-Raise a number to a power \n
Q-quit \n %f ", char);
scanf("%f "; &MS);
if (MS=M)
void PrintMultiplicationTable(int max);
if (MS=G)
int GreatestCommonDivisor(int num1, int num2);
if (MS=R)
int RaiseToPower(int base, int power);
if (MS=Q)
exit
return 0;
}
Comment