Created
June 23, 2022 16:47
-
-
Save DeclanGas/3a9cec8a7e0ec819a8e7db4ace9f4680 to your computer and use it in GitHub Desktop.
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<stdio.h> | |
#include<cs50.h> | |
#include "multiplication.h" | |
int main(void) | |
{ | |
//To Do: Write a function to prompt the user for numberA and numberB | |
int A = get_int(":"); | |
int B = get_int(":"); | |
//To Do: Write a function to return the product of numberA and numberB. "The product of the number is: " | |
int product = multiply(A, B); | |
printf("The product is: %i\n", product); | |
//After you are able to write the function and compile the program, make a header file and move the function protopye and definition here | |
//Add the include statement at the top of the file | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment