how can i write and read number from a float table ?

Hello,

I want to create a fonction that able me to write from keybord a numbers type float than write those number for verification.
i want to application the log to this number how i can do ?

example :
float sln_Tab={-1,00;0,00;0.30;0,48;0,60;0,70};
float Tab[6];
float log_Tab[6]
for (int i=0; i<6; i++)
{

printf(“enter number %d ? “, i + 1);
scanf(”%d”, Tab*);*
log_Tab_=Log(Tab*);
}*
thanks_

And again, without italics?
And also with fewer semicolons.

float sln_Tab={-1,00;0,00;0.30;0,48;0,60;0,70};

???

float sln_Tab={-1.00, 0.00, 0.30, 0.48, 0. 60, 0.70};

example :

float sln_Tab[ ]={-1.00, 0.00, 0.30, 0.48, 0. 60, 0.70};
float Tab[6];
float log_Tab[6]
for (int i=0; i<6; i++)
{

printf("enter number %d ? ", i + 1);
scanf("%d", Tab);
log_Tab=Log(Tab);
}