Online Compiler C

#include <stdio.h> int main() { int m,n; scanf("%d%d",&m, &n); for (int i = m; i <= n; i++) { printf("%d\n", i * i); } return 0; }
This code reads two integers m and n, then prints the square of each integer from m to n inclusive, one per line.

- The loop condition `i <= n` includes the upper bound n. Check if the task expects to include both m and n or only numbers between them.
- The output prints each square on a new line. Verify if the required output format matches this, or if squares should be separated differently.