Answer:
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double num1, num2, num3, num4, num5, sum = 0;
cout << "Input: ";
cin >> num1 >> num2 >> num3 >> num4 >> num5;
sum = num1 + num2 + num3 + num4 + num5;
cout << "Output: " << static_cast<int>(round(sum)) << endl;
return 0;
}
Explanation:
Include cmath to use the round function
Declare the variables
Get the five numbers from the user
Sum them and assign the result to the sum
Round the sum using the round function, and convert the sum to an integer using static_cast statement
Print the sum
The programming language which was most likely used to create this mouse-hover feature is: d. Python.
<h3>What is a scripting language?</h3>
A scripting language is also referred to as a script and it can be defined as a type of programming language which comprises a set of executable codes (instructions) within a file that are executed by the operating system (OS) of a computer or software program (application) such as a webpage.
Scripting languages are typically used to give instructions or commands to software programs (application) such as:
- A standalone application.
<h3>Examples of a scripting language</h3>
In Computer programming, some examples of commonly used scripting languages include the following:
- JavaScript
- PHP
- Ruby
- Python
In this scenario, a Python program would be used to define a function that gets called every time an end user (Andie) moves his or her mouse over the the dancing monkey.
Read more on Python program here: brainly.com/question/6957007
The output printed by the code is 18
<h3>The Code Analysis</h3>
The flow of the program is as follows:
- The first line initializes a list of numbers named values
- The second line initializes fred to 0
- The third line is an iteration that is repeated for all numbers in the list
- The next statement is a conditional statement that ensures that all 9's in the list are added, and saved in fred
<h3>The Code Computation</h3>
Recall that, the initial value of fred is 0, and there are 2 9's in the list.
So, the computation is:


This means that, the last instruction on line 10 will display 18, as the output
Hence, the output printed by the code is 18
Read more about algorithms at:
brainly.com/question/11623795
Answer:
d. an element
Explanation:
User Interface design is simply the designs that are used to model a product like an application.
In a user interface, a screen is best understood as an element.