#include<stdio.h> #include<stdlib.h> void squares(int limit) { /*Commment out this entire function int i; /*loop counter*/ /* ** Print table of squares */ for (int i = 0; i < limit; i += 1) { printf("%d%d", i, i*i); } End of commment out code*/ } int main() { squares(2); system("pause"); return 0; }
时间: 2024-10-12 16:42:06