subject
Computers and Technology, 16.03.2020 22:14 skyhe34

Write a program that reads the number of years ago that a dinosaur lived and then compute the equivalent number of months, days, and seconds ago. Use 365.25 days per year. Test your program with a triceratops that lived 145 million years ago and a brontosaurus that lived 182 million years ago. (Hint: Use type double for all variables.) Note: Include functions in your program

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:20
What is the full meaning of rfid in computer
Answers: 2
question
Computers and Technology, 23.06.2019 04:31
Acloud service provider uses the internet to deliver a computing environment for developing, running, and managing software applications. which cloud service model does the provider offer? a. iaas b. caas c. maas d. paas e. saas
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
In three to five sentences, describe how you can organize written information logically and sequentially
Answers: 1
question
Computers and Technology, 24.06.2019 11:20
Print "censored" if userinput contains the word "darn", else print userinput. end with newline. ex: if userinput is "that darn cat.", then output is: censoredex: if userinput is "dang, that was scary! ", then output is: dang, that was scary! note: if the submitted code has an out-of-range access, the system will stop running the code after a few seconds, and report "program end never reached." the system doesn't print the test case that caused the reported message.#include #include using namespace std; int main() {string userinput; getline(cin, userinput); int ispresent = userinput.find("darn"); if (ispresent > 0){cout < < "censored" < < endl; /* your solution goes here */return 0; }
Answers: 3
You know the right answer?
Write a program that reads the number of years ago that a dinosaur lived and then compute the equiva...
Questions
question
Advanced Placement (AP), 20.11.2020 22:30
question
Chemistry, 20.11.2020 22:30
question
Social Studies, 20.11.2020 22:30
Questions on the website: 13722367