Answer:
#include <iostream>
#include <cstdlib>
using namespace std;
int t;
char HeadsOrTails(){
char a='h';
char b='t';
if(t%2==0)
return a;
else
return b;
}
int main ()
{
int n, c, b;
cout << "Enter the number of decisions you want" << endl;
cin >> n;
b=1;
cout << "Decisions are:" << endl;
srand(100);
for (c = 1; c <= n; c++)
{
t = rand();
if(HeadsOrTails()=='h'){
cout<<b<<".heads"<<endl;
b++;
}
else{
cout<<b<<".tails"<<endl;
b++;
}
}
return 0;
}
Explanation:
random number generator is used to generate a number and then heads and tails is decided on even and odd number basis. if number is even then decision is head and if number is odd then decision in tails
Answer:
255.255.255.224
Explanation:
Q:
You are configuring a network and have been assigned the network address of 221.12.12.0. You want to subnet the network to allow for 5 subnets with 20 hosts per subnet. Which subnet mask should you use?
A:
255.255.255.224
I think that it is 4 megabytes
The choice that is not a form of antivirus scanning that compares known virus patterns to scanned files is called; Heuristic scanning
<h3>Antivirus Detection</h3>
The correct answer is Heuristic Scanning from the options seen online. This is because Heuristic scanning is a method utilized by many computer antivirus programs to detect previously unknown computer viruses, as well as new variants.
Thus, heuristic scanning doesn't compare known virus patterns to scanned files.
Read more about antivirus detection at; brainly.com/question/17209742
I would say (Disable automatic completion of username and passwords.
sorry if im wrong