Output a C code segment that takes two number as inputs and returns their product:
Here is a C code segment that takes two numbers as inputs and returns their product:

```c
#include <stdio.h>

int main()
{
    int num1, num2, product;

    // Prompt for and read the first number
    printf("Enter the first number: ");
    scanf("%d",&num1);

    // Prompt for and read the second number
    printf("Enter the second number: ");
    scanf("%d",&num2);

    // Compute the product of the two numbers
    product = num1 * num2;

    // Print the product
    printf("The product of %d and %d is %d\n", num1, num2, product);

    return 0;
}
```
Complete the following task based on the instruction and optional input provided.### Instruction:
Output a C code segment that takes two number as inputs and returns their product:

### Output:
Here is a C code segment that takes two numbers as inputs and returns their product:

```c
#include <stdio.h>

int main()
{
    int num1, num2, product;

    // Prompt for and read the first number
    printf("Enter the first number: ");
    scanf("%d",&num1);

    // Prompt for and read the second number
    printf("Enter the second number: ");
    scanf("%d",&num2);

    // Compute the product of the two numbers
    product = num1 * num2;

    // Print the product
    printf("The product of %d and %d is %d\n", num1, num2, product);

    return 0;
}
```