It’s hz and bandwidth, 5ghz is better then a 2.5ghz but the wavelength is more condensed so it won’t travel so far so the 5ghz will be faster but the 2.5ghz will go further.
Answer:
#include <iostream>
using namespace std;
int main()
{
string s;
cin>>s; //reading string
int i,j;
bool has_dups=false;
int n= s.length();
for(i=0;i<n;i++) //to check for duplicate characters
{
for(j=0;j<n;j++)
{
if(j!=i && s[i]==s[j]) //to check if it is matched with itself
{
has_dups=true; //if true no need to check others
break;
}
}
}
cout<<has_dups;
return 0;
}
OUTPUT :
California
1
Explanation:
Above program finds if a character repeat itself in the string entered by user.
<span>True
</span><span>There is an increasing need for private security personnel because of declining resources for many government agencies and a shortage of police officers in many communities due to lack of funding.
</span>