Raju rastogi works for ISRO(misson mangal) where he is involved in a mission to intercept a comet that is likely to
collide with in each with in 1 month.he is developing a c program to calculate the trajectory of
the missile to be launched to intercept and destroying the approaching comet in order to
achieve highest accuracy of the missile trajectory what data type should he use for the
variables in his equation??
a. Long int
b. Double
c. Float
d. Int
Answers
Answered by
1
Answer:
long int , if he will use it he will get success
Answered by
1
Answer:
Option A. Long int
Explanation:
Since the equation require accurate results and it involves an equation where a bigger data which might be possible or negative might arrive it is better to go for Long int.
Int accepts a range of values from -32767 to + 32767
Double accepts floating point value which ranges from 1E–37 to 1E+37 with ten digit of precision
Float once again accepts floating point but it holds lesser value when compared to double data type. This ranges from “1E–37 to 1E+37” with six digits of precision
Long int accepts values in the range –2,147,483,647 to 2,147,483,647.
Similar questions