subject

Try to calculate the number of rice grains that the inventor asked for in exercise 8 above. you’ll find that the number is so large that it won’t fit in an int or a double. observe what happens when the number gets too large to represent exactly as an int and as a double. what is the largest number of squares for which you can calculate the exact number of grains (using an int)? what is the largest number of squares for which you can calculate the approximate number of grains (using a double)?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 10:20
Write a program that keeps asking the user for new values to be added to a list until the user enters 'exit' ('exit' should not be added to the list). these values entered by the user are added to a list we call 'initial_list'. then write a function that takes this initial_list as input and returns another list with 3 copies of every value in the initial_list. finally, inside print out all of the values in the new list. for example: input: enter value to be added to list: a enter value to be added to list: b enter value to be added to list: c enter value to be added to list: exit output: a b c a b c a b c note how 'exit' is not added to the list. also, your program needs to be able to handle any variation of 'exit' such as 'exit', 'exit' etc. and treat them all as 'exit'.
Answers: 2
question
Computers and Technology, 24.06.2019 14:30
Ahousehold consists of a married couple and their twin five-year old daughters. the couples children had no income and lived with their parents all of last year. how many exemptions can the couple claim on last years tax return or they file with the “ married filing jointly “ status? a. 4 b. 5 c. 3 d. 2
Answers: 1
question
Computers and Technology, 25.06.2019 02:00
Feedback is one of the basic elements games have in common true false
Answers: 2
question
Computers and Technology, 25.06.2019 08:00
Ais the hardware where the data is actually stored.
Answers: 1
You know the right answer?
Try to calculate the number of rice grains that the inventor asked for in exercise 8 above. you’ll f...
Questions
question
Health, 17.07.2020 17:01
question
Mathematics, 17.07.2020 17:01
question
Mathematics, 17.07.2020 17:01
Questions on the website: 13722363