I'm not absolutely positive that my answer is correct... but here's what I got...
Mother: 33 years old
Daughter: 15 years old
#This is a way without a loop
friends = list(map(str,input("Enter Names: ").split()))
print(sorted(friends))
#This is a way with a loop (for&&while)
friends = list(map(str,input("Enter Names: ").split()))
cool = True
while cool:
cool = False
for i in range(len(friends)-1):
if friends[i] > friends[i+1]:
coo = friends[i]
friends[i] = friends[i+1]
friends[i+1] = coo
cool = True
print(friends)
Answer:
The Operating System allocates resources when a program need them. When the program terminates, the resources are de-allocated, and allocated to other programs that need them
Is this a math problem? I don't get what you are trying to say sorry
Answer:
??
Explanation:
?? is invalid syntax
When declaring or initializing variables names, and when writing methods, or arguments ?? is not used in Java .
() [] {} all these are used with variables , methods or arguments.