Answer:
Algorithm:
1. Declare and initialize variable one_dog_year=7.
2.Ask user to give dog age.
2.1 Read the dog age and assign it to variable "dog_age".
3.Create a variable "human_age" to store the equivalent human age.
3.1 Calculate equivalent human age as "human_age=one_dog_year*dog_age".
4.Print the equivalent human age of dog age.
7. End the program.
// here is algorithm implemented in c++
#include <bits/stdc++.h>
using namespace std;
int main()
{
// initialize one dog year
int one_dog_year=7;
int dog_age;
int equi_h_age;
cout<<"Enter the dog age:";
// read the dog age
cin>>dog_age;
//calculate the equivalent human age
equi_h_age=dog_age*one_dog_year;
cout<<"equivalent human age is : "<<equi_h_age<<endl;
return 0;
}
Output:
Enter the dog age:2
equivalent human age is : 14
Explanation:
On October 31, around twelve o'clock at night, the lights were dull. It was Siberian cold and I was walking painfully under the whitish lighting of a lamppost and the retro neon lights of a convenience store in a neighborhood that was buzzing when I went to buy meat. buildings, grayish in this half-light, crumbled under the weight of sleep, while the neighborhood was still open. Its decoration was particularly macabre in tone: synthetic but very sticky spider webs adorned the porches of the terraces, pumpkin ornaments are exhibited like works of art, ... Some pushed the macabre by hanging mannequins made up in corpses. At the entrance to the neighborhood, I found the body of its owner stabbed. Frozen in place, I wondered what else awaits me. My heart was pounding, feeling a shiver of anguish. When I was removing the phone from my pocket to call my police friends, my hands were clenched in fear. An investigation was carried out to find out the causes of death. Also, I went with them so they take my words. Hopefully the murderer will be arrested to put an end to this sybilinous crime.
I believe that the answer to the question provided above is that with the age of improving technology, the aspects of future games will be based more unto electronic games or e-games.
Hope my answer would be a great help for you. If you have more questions feel free to ask here at Brainly.
The code segment is an illustration of loops and arrays
<h3>What is a loop?</h3>
A loop is a program statement used to perform repetitive operations
<h3>What is an array?</h3>
An array is a variable used to hold multiple values
<h3>How to analyze the program?</h3>
The loop of the program adds the index 0 elements of the first and the second row of the 2-dimensional array.
From the program, the numbers to add are 1 and 100
The sum of 1 and 100 is 101
Hence, 101 will be displayed when the code segment is executed
Read more about code segments at:
brainly.com/question/26683418