#include using namespace std; struct Registro { int a; float b; } int main(){ Registro foo[20]; for (i=0;i<20;i++){ foo[i].a=i; foo[i].b=i+0.5; } }