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, 21.06.2019 22:30
Provide an example of a project that combines the three principles of lean six sigma with business project management (bpm) and services oriented architecture (soa). identify the elements of the project that comply with each of three principles.
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Which of the following commands is more recommended while creating a bot?
Answers: 1
question
Computers and Technology, 22.06.2019 22:40
Least square fit to polynomial write a function leastsquarefit3pol that solves a linear system of equations to find a least squares fit of a third order polynomial to an experimental data set given as two row arrays. the function leastsquarefit3pol must explicitly solve a set of linear equations and cannot use polyfit. there should be no restriction on the size of the problem that can be solved.
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
Report all segments of identity by descent longer than 20 polymorphisms between pairs of individuals in the following cohort of 15 individuals across 49 polymorphisms: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 numeric input 2 points possible (graded) you have 2 attempts to complete the assignment below. for example if the sequence is "bcd", which occurs in "abcdef" , the starting point would be 2 (b), and the finishing point would be 4(d). individuals 7,10 between positions
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, 12.11.2020 23:40
question
Mathematics, 12.11.2020 23:40
question
Mathematics, 12.11.2020 23:40
question
Mathematics, 12.11.2020 23:40
question
Mathematics, 12.11.2020 23:40
question
Biology, 12.11.2020 23:40
question
Mathematics, 12.11.2020 23:40
question
Mathematics, 12.11.2020 23:40
Questions on the website: 13722362