Hi, does anyone know or has any idea how to import values from a table and assign it to a variable?
For example:
Ambient Temperatures| 30 40 50
Corresponding factors |0.9 0.7 0.6
(note the table is in excel format and much larger)
double At,Ca;
cout<<"Enter Value for Ambient temperature";
cin>>"At;
if i enter At as 30 then Cg would correspond to the value of 0.9 or if it is 40 then Ca would correspond to the value of 0.7 anyone has a idea? It would be great if you could offer some help