Answer:
Python file with appropriate comments given below
Explanation:
#Take the input file name
filename=input('Enter the input file name: ')
#Open the input file
inputFile = open(filename,"r+")
#Define the dictionary.
list={}
#Read and split the file using for loop
for word in inputFile.read().split():
#Check the word to be or not in file.
if word not in list:
list[word] = 1
#increment by 1
else:
list[word] += 1
#Close the file.
inputFile.close();
#print a line
print();
#The word are sorted as per their ASCII value.
fori in sorted(list):
#print the unique words and their
#frequencies in alphabetical order.
print("{0} {1} ".format(i, list[i]));
Answer:
Hello attached is the Java program written to solve the problem
The Pet.java and Dog.java files are unaltered
Explanation:
The input and output codes are attached as well i.e the second image is the input while the third image is the output code
Answer:
B decelerate
Explanation:
Deceleration will help in avoiding you from loosing control of the vehicle
Answer:
d. broad needs and few customers.
Explanation:
This strategy is based on creation of unique and valuable persons.
Broad needs and few customers (Wealth Management )
Wealth management is a service that combines to address the needs of clients. Wealth Management utilizes financial discipline such as financial and investment , accounting and tax.This service is appropriate for individuals with broad array of diverse needs.