g2800 代码 5b00

#include
int main(void)
{
// Declare necessary variables
int n, m, r;
// Prompt user to input two integers
printf(“Please enter two integers: “);
scanf(“%d %d”, &n, &m);
/*
* Compute the remainder of the division
* of n by m and store it in the
* variable called r
*/
r = n % m;
// Print out the result of the division
printf(“The remainder of %d divided by %d is: %d\n”, n, m, r);
return 0;
【g2800 代码 5b00】}

    推荐阅读