Using the internet in a way that respects the rights of others is known as computer ethics?
It would be an ANIMATION. Hope this helps.
Answer:
D. Hot site.
Explanation:
A hot site is a backup site which is always running.A hot site lets a company to continue it's normal operations within a very short period of time and in case of power outrage or disaster that could impair the computer hardware's ability to work as designed.
Hence the answer to this question is Hot site option d.
Answer:
#include <iostream>
using namespace std;
int main(){
int a, b, c;
cout<<"Enter three integers: ";
cin>>a>>b>>c;
if(a<=b && a<=c){
cout<<"Smallest: "<<a; }
else if(b<=a && b<=c){
cout<<"Smallest: "<<b; }
else{
cout<<"Smallest: "<<c; }
return 0;
}
Explanation:
This line declares three integer variables a, b and c
int a, b, c;
This line prompts the user for three integer inputs
cout<<"Enter three integers: ";
This line gets the inputs
cin>>a>>b>>c;
This checks if the first is the smallest
if(a<=b && a<=c){
If yes, it prints the first as the smallest
cout<<"Smallest: "<<a; }
This checks if the second is the smallest
else if(b<=a && b<=c){
If yes, it prints the second as the smallest
cout<<"Smallest: "<<b; }
If the above conditions are not true, then the third number is printed as the smallest
<em> else{</em>
<em> cout<<"Smallest: "<<c;</em>
<em> }</em>
<em />
The function that counts the number of times a vowel exist in a string is as follows:
def count_vowels(string, dictionary):
vowels = 'aeiou'
dictionary = {}.fromkeys(vowels, 0)
for i in string:
if i in vowels:
dictionary[i] += 1
return dictionary
print(count_vowels("trouble", {}))
<h3>Code explanation.</h3>
The code is written in python.
- we defined a function named "count_vowels". The function accept a string and an empty dictionary.
- Then. we store the vowels in a variable vowels.
- The dictionary is used to store the key value pair i.e the vowels and the number of times they appear.
- We looped through the string.
- If any value in the string is in vowels, we increase the dictionary values by 1.
- Then, we return the dictionary.
- Finally, we call the function with it parameters.
learn more on function here: brainly.com/question/27219031