Untitled
unknown
plain_text
a year ago
370 B
2
Indexable
Never
#include <iostream> using namespace std; int main() { float a = 50; float b = 1000; int n1 = 100; int n2 = 2000; int v1 = 0; int v2 = 1; float step = a/n1; for (int i = 0; i <= n2; i++){ for (int j = 0; j <= n1; j++){ printf("%f %f %d %d \n",i*step,j*step,v1,v2); } } return 0; }