Hey, I'm naturally a vb.net programmer and I'm lost with C's syntax. I'm trying to create an application where the user inputs some values and then have it run some statistical analysis, but I can't get past the user input part.
Any help will be greatly appreciated, thank you!Code:#include <stdio.h> #include <stdafx.h> #define N 25 int main(void) { double numberarray[N]]; int row, col; for (row = 0; row < N; row++) for (col = 0; col < N; col++) if (row == col) scanf("%d", numberarray[row][col]); else scanf("%d", numberarray[row][col]); return 0; }
-sin2win



LinkBack URL
About LinkBacks



