Contact solution is the answer and the work is your brain
I guess the correct answer is 10GBase-SW
10GBASЕ-SW mеdia typеs arе dеsignеd fοr usе οvеr shοrt wavеlеngth (850 nm) multimοdе fibеr (MMF). Thе dеsign gοal οf thеsе mеdia typеs is frοm 2 mеtеrs tο 300 mеtеrs οf fibеr distancе, dеpеnding οn thе typе and quality οf thе multimοdе fibеr. Lοngеr distancеs arе pοssiblе dеpеnding οn thе qualitiеs οf thе fibеr οptic cablе usеd. Thе 10GBASЕ-SW mеdia typе is dеsignеd tο cοnnеct tο SΟNЕT еquipmеnt, which is typically usеd tο prοvidе lοng distancе data cοmmunicatiοns.
Answer:
#include <iostream>
#include <string>
#include <regex>
using namespace std;
int main()
{
cout << "Enter a 5-digit number: ";
string number;
cin >> number;
bool valid = regex_search(number, regex("^\\d{4}[02468]$"));
if (valid) {
valid = stoi(number.substr(0, 1)) + stoi(number.substr(1, 1))
< stoi(number.substr(3, 1)) + stoi(number.substr(4, 1));
}
cout << number << (valid ? " is valid" : " is invalid");
}
Explanation:
Regular expressions can do all of your checking except for the sum of digits check. The checks are i.m.o. easiest if you don't treat the input as a number, but as a string with digits in it.
The regex means:
^ start of string
\d{4} exactly 4 digits
[02468] one of 0, 2, 4, 6 or 8 (this is what makes it even)
$ end of string
Answer:
This is the second question like this I've seen. They aren't the greatest.
Explanation:
The question is not good. The answer would be option a, Transport even though it doesn't make a whole lot of sense when you really go into detail.
It could also be option d, Application but I think they're going for the first.
Answer:
hmmm well what is your magager?? every job will ask you what you can do.