Answer:
Here is my answer in Javascript
num = 0; // Use to calcate the even numbers
loop = 10; // Use for the highest even number that will be calcated for
index = loop/2; // Calcate the size of the array based upon how many loops their
let arr = [index]; //Create array to store the even numbers
let i = 0; // Use to keep track of which on what number in the while loop we are on
let total = 0; //Used to add up all of the even numbers
let mean = 0; //Used to calcate the mean of all even numbers
do {
i = i + 1; //Keep track of what loop we are on
num = num + 2; //Used to calcate the even number
arr.push(num); //Push the num into a array
total = total + arr[i]; //Calcate the total of the array
mean = total / i; //Calcate the mean
}
while (num != loop);
//Output the result
console.log(mean);
Answer:
Following are the answer to this question:
Explanation:
As we know, that Python is based on Oop's language, it allows programmers to decide, whether method or classes satisfy the requirements.
- It's an obvious benefit, in which the system tests the functions, and prevent adverse effects, and clear the syntaxes, which makes them readable for such methods.
- All the framework uses the python language, that will be used to overcome most every coding task like Mobile apps, desktop apps, data analyses, scripting, automation of tasks, etc.
Answer:
- #include <iostream>
- using namespace std;
- class myinteger {
-
- private:
- int value;
-
- public:
- myinteger(int x){
- value = x;
- }
-
- int getValue(){
- return value;
- }
-
- };
- int main()
- {
- myinteger obj(4);
- cout<< obj.getValue();
- return 0;
- }
Explanation:
Firstly, we use class keyword to create a class named myinteger (Line 5). Define a private scope data field named value in integer type (Line 7 - 8).
Next, we proceed to define a constructor (Line 11 - 13) and a getter method for value (Line 15 -17) in public scope. The constructor will accept one input x and set it to data field, x. The getter method will return the data field x whenever it is called.
We test our class by creating an object from the class (Line 23) by passing a number of 4 as argument. And when we use the object to call the getValue method, 4 will be printed as output.
Answer:
Phishing attacks normally target random people on mass amount by sending emails to users. In the other hand the spear phishing only targets 1 person hence the name "spear".
Hope this help please give the brainliest award.
Answer:
Apply an entrance effect, and then set it to By letter in the Effect Options dialog box.
Explanation:
PowerPoint application can be defined as a software application or program designed and developed by Microsoft, to avail users the ability to create various slides containing textual and multimedia informations that can be used during a presentation. Some of the features available on Microsoft PowerPoint are narrations, transition effects, custom slideshows, animation effects, formatting options etc.
To format an image on PowerPoint, you can either use the Artistic Effects or Picture Effects.
Some of the features available on Microsoft PowerPoint are narrations, transition effects, custom slideshows, animation effects, formatting options etc.
Basically, the views that are available on the Microsoft PowerPoint application includes;
1. Slide Sorter.
2. Notes Page.
3. Reading Pane.
4. Presenter view.
Using a custom animation effect, in order to make text appear on a slide letter by letter, you should apply an entrance effect, and then set it to By letter in the Effect Options dialog box.