Answer:
Step 1 : Start
Step2 : Input first number, num1
Step3 : Input second number, num2
Step4 : product - - > num1 * num2 (product of num1 and num2)
Step5 : Input product, myanswer
Step6 : comparison - - - > correct or incorrect based on myanswer and product
Step6: print(comparison)
Step7: End
Explanation:
Algorithm is a sequence of instructions a computer is expected to follow to solve a particular problem.
Required :
Two inputs ; num1 and num2
Expected output
Algorithm :
Step 1 : Start
Step2 : Input first number, num1
Step3 : Input second number, num2
Step4 : product - - > num1 * num2 (product of num1 and num2)
Step5 : Input product, myanswer
Step6 : comparison - - - > correct or incorrect based on myanswer and product
Step6: print(comparison)
Step7: End
The two numbers to multiply are entered ; the product is calculated by the program ; the the user inputs his or her own expecteted product ;
Both are compared and the output of the comparison is displayed (either correct oe incorrect)
Answer:
Turbo C++ is a Compiler and Integrated development Environment (IDE) and Computer language
Explanation:
- Turbo C++ is a IDE which is used for writing the programs.
- This editor is used to create the source file, compile and run the source file and then execute it
Answer:
A hard disk provides a high-capacity alternative to magnetic storage media. It contains metal platters coated with a magnetic layer. The platters usually spin continuously when a computer is on, storing data in different sectors on the magnetic disk.
Explanation:
Answer:
Following are the solution to this question:
Explanation:
This algorithm uses the divide and rule approach works, which splits the list into two sublists depending on if they are smaller or larger than the pivotal factor. It has O(n*log n) complexity.
It splits down the list in more than one version frequently till every sublist becomes based on a single element and fuses it to offer an ordered array. The merge type works according. It has O(n*log n) complexity.
Please find the attachment file of the sorting.