If "Outlook" is one of the options then thats the answer.
Answer:
String word = "George slew the dragon";
int pos = word.indexOf("dr");
String drWord = word.substring(pos, pos+4);
System.out.println(drWord);
Explanation:
Assuming dr is always there, we don't have to check the validity of 'pos'. Normally, you would!
above
dgczjklcxhvzkojcvrhyujnhb
explanation:
Answer:
def getChar():
while True:
in1 = input('Enter first char: ')
try:
if len(in1) != 1:
raise
else:
in2 = input('Enter second char: ')
if len(in2) != 1:
raise
else:
break
except:
print('Enter just one character')
return in1, in2
def chars2string(in1,in2):
print(in1*5 + in2*5)
def main():
ls = getChar()
in1 = ls[0]
in2 = ls[1]
chars2string(in1, in2)
if __name__ == '__main__':
main()
Explanation:
The programming language used is python 3.
The script first defines a function getChar and makes use of a while loop in combination with try and except blocks and IF statements, the code ensures that both inputs that are entered by the user after the prompt are 1 in length. i.e. Just one character. This function returns the two characters that were entered.
The second function that is defined is chars2string this function takes two arguments, It repeats each argument five times and returns a joined string.
Finally, the main function is defined and it calls the getChar function first, the values that are returned by this function is assigned to two variables, that is then passed on to the chars2string function. The main function is called and the Joined string is printed to the screen.
Answer:
Windows 10 has diverse editions and your purpose of use.
Explanation:
Windows 10 Home edition is consumer-focused desktop edition and good for home use alone.
Windows 10 Mobile edition is designed to meet and deliver the best user experience on smaller, mobile, touch-centric devices like smartphones and small tablets.
Windows 10 Pro is also a desktop edition for PCs, tablets. It has upon both it, the familiar and innovative features of Windows 10 Home, it has many extra features designed to meet the various needs of small businesses.
Windows 10 Enterprise builds on Windows 10 Pro, adding advanced features designed to meet the demands of medium and large sized organizations.
This also supports the broadest a very wide range of options for operating system deployment but on a LIVE server or a Test server and equally have a comprehensive device and app management added.