subject

1. Write a program that accepts three integer numbers. Compute the sum and the average of the three numbers. [2 marks] Expected output:
Enter first number: 10
Enter second number: 20
Enter third number: 30
Total: 60
Average of 10, 20 and 30 = 20
2. Write a program that reads numbers of days from the user and converts it to weeks, months and years. [2 marks]
Expected output:
Enter number of days: 200
200 days is 28.57 weeks,
200 days is 6.67 months,
200 days is 0 years.


1. Write a program that accepts three integer numbers. Compute the sum and the average of the three

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
What is the algorithm for building a binary tree program
Answers: 2
question
Computers and Technology, 22.06.2019 21:10
Dameas communication challenge is due to which factor
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
Why is an outfitting a workspace with video games in a technology development company considered a strategic use of money
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Name the range function that would generate the following list of integers values: 0,1,2,3,4,5.
Answers: 1
You know the right answer?
1. Write a program that accepts three integer numbers. Compute the sum and the average of the three...
Questions
question
Mathematics, 24.11.2019 21:31
Questions on the website: 13722367