Answer:
Using C language;
#include <stdio.h>
int main()
{
int N, M;
printf("Please enter two numbers: ");
scanf("%d %d", &N, &M);
int P,Q = N*M;
return 0;
}
Step-by-step explanation:
The variables N and M are declared and the "scanf" function is used to assign a value to the variables from the input prompt, then the product of N and M are saved to the P and Q variables.