Displaying ./code/sternflCode/rectangles.c#include<stdio.h> int main() { FILE *f = fopen("nums", "r"); int numRows, numCol; fscanf(f, "%d %d", &numRows, &numCol); for(int j=0; j<numRows; j++) { for(int i=0; i<numCol; i++) printf("X"); printf("\n"); } } |