![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 31.08.2019 08:30 seahorse0
Note: the exercise instructions here are long -- read them all carefully. if you see an internal scrollbar to the right of these instructions, be sure to scroll down to read everything.
write an arithmetic expression that calculates the average of 18 and 46.
you may already know that:
the average of two numbers is their sum divided by 2
the symbol for division is /, thus 10 divided by 5 is written as 10/5
division has higher arithmetic precedence than addition
parentheses 's) may be used to override precedence
thus, one correct solution would be:
(18+46)/2
try it-- enter the above solution and click the submit button!
even with an exercise as simple as taking the average of 18 and 46 it is still possible to make mistakes. for example:
we might forget to use parentheses:
18+46/2
or, we might use the wrong arithmetic operator:
(18-46)/2
try these and see the system feedback. also try entering some of your own incorrect answers, and see what you get.
again, what makes programming so interesting is that there are also many ways to be right. for example, we could reverse the 18 and 46 and still have a correct
(46+18)/2
one of the most essential components of all learning is experimentation. nowhere is this more true than in learning programming. students should be encouraged to experiment with solutions even after "getting it right".
having submitted a typical correct solution, a student might experiment with:
(18+46)/(3-1)
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 18:30
Which cultural aspect does this type of song best portray? a german polka dance
Answers: 1
![question](/tpl/images/cats/informatica.png)
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](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 10:00
Which feature of a blog to restore and retrieve older post
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 10:20
Identify the publisher in this citation: carter,alan.a guide to entrepreneurship.new york: riverโ2008.print.
Answers: 3
You know the right answer?
Note: the exercise instructions here are long -- read them all carefully. if you see an internal s...
Questions
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
English, 28.09.2020 01:01
![question](/tpl/images/cats/himiya.png)
Chemistry, 28.09.2020 01:01
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 28.09.2020 01:01
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 28.09.2020 01:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 28.09.2020 01:01
![question](/tpl/images/cats/mat.png)
Mathematics, 28.09.2020 01:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 28.09.2020 01:01
![question](/tpl/images/cats/mat.png)
Mathematics, 28.09.2020 01:01
![question](/tpl/images/cats/mat.png)
Mathematics, 28.09.2020 01:01