Answer:
def insSort(arr):
ct=0;
for i in range(1, len(arr)):
key = arr[i]
j = i-1
while j >=0 and key < arr[j] :
arr[j+1] = arr[j]
j -= 1
ct=ct+1;
arr[j+1] = key
return arr,ct;
print(insSort([2,1]))
Output of the program is also attached.
Answer:
cout<<count;
Explanation:
The above statement is in c++ which display the value of count .The cout statement is used in c++ to print the value on console .
Following are the code in c++
#include <iostream> // header file
using namespace std; // namespace
int main() // main method
{
int count=90; // count variable
cout<<count; // display the value of count
return 0;
}
Output:
90
In this program we have declared a count variable of integer type which is initialized by 90 and finally displays the value of count on the screen.
Answer:
Explanation:Mind mapping software can help you to make connections and become a better creative problem solver.
...
It helps you to make better decisions. ...
It helps you to become better organized. ...
You can see the forest and the trees. ...
It helps you to identify, prioritize and track key project tasks.