Please, i cant find the mistake here:
char dec = "10.45";
float numb;
numb = (float)dec;
numb = numb/2;
i have the following message:
illegal operands 'double'/'int'
i have also tried
numb = numb/2.0
and its given:
illegal operands 'double'/'double'
so, if its wrong, how do i make mathematical operations between double-int, double-float, double-double???