Write a program that evaluates the expression
3.31 × 10^(-8) + 2.01 × 10^(-7) ÷ 7.16 × 10^(-6) + 2.01 × 10^(-8)
Answer
float result;
result = (3.31 * 10.0e + 2.01 * 10.0e-8) / (7.16 * 10.0e-6 + 2.01 * 10.0e-8);
NSLog(@"%e",result);
This is the answer I found but please explain the exponents part and why i need the 'e'
also is there any other way of doing to the power of negative numbers. I tried doing it in other ways but it didn't work