Answer:
Bubble sort, sometimes referred to as sinking sort, is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order. The pass through the list is repeated until the list is sorted.
Explanation:
Look at the photo
Good luck
Answer:
Please, see the attachment.
Explanation:
First, we have to create two input boxes that allows the user to write the current year in one of them and his/her birth year in the another one. Also, we have to create a label that will show the result of the desired variable. We can write a message "Your age is:" and it will be attached to the result.
For the algorithm, let's call the variables as follows:
CY = Current Year
BY = Birth Year
X = Age of user
When the user inserts the current year and his/her birth year, the program will do the following operation:
X = CY - BY; this operation will give us the age of the user
After this the user will see something like "Your age is:" X.
Answer:
The mass flow rate of jet =69.44 kg/s
Explanation:
Given that
velocity of jet v= 60 m/s
Power P=250 KW
As we know that force offered by water F

Power P= F.v
So now power given as

We know that mass flow rate = ρAv

250 x 1000 = mass flow rate x 3600
mass flow rate = 69.44 kg/s
So the mass flow rate of jet =69.44 kg/s