In completing the matrix multiplication algorithm is used as follows:
a. initialize the matrix ~ A [] [], matrix _b [] [], matrix _c [] [], i = 0, j = 0, k = 0, row ~ A, ~ A column,
_b column
b. input line ~ A, ~ A column, the column _b
c. Looping process to enter a value in the matrix ~ A:
1. for i = 0 to the many lines _ a-1, i = i +1
a) for j = 0 to the number of columns ~ A-1, j = j +1
b) the input matrix _b [i +1] [j +1]
c) Is j
PROBLEMS:
- Stacking algorithm to input 3 pieces of numbers denote the length of the side of a triangle. If the 3 sides of the triangle is equal in length will be printed the words "equilateral". If only two sides of the same will be printed "isosceles" and when the 3 side triangle is not the same as it will be printed "not both".
Hint: a) Using the operator AND (& &) / OR (| |)
Hint: b) Not allowed to use your logical AND and OR
ANSWERS here yaa!!
2. Stacking flowchart to enter 4 integers, then from
4 numbers is printed is the number of the largest.
ANSWERS here yaa!!
3. Stacking flowchart for input integers 3 pieces and then print
The 3rd value is the order from small to large.
ANSWERS here yaa!!
Stacking flowchart for input integers 3 pieces and then printing the 3rd value in the order from small to large.
Stacking flowchart to enter 4 integers, then from 4 numbers is printed is the number of the largest.
Stacking algorithm to input 3 pieces of numbers denote the length of the side of a triangle. If the 3 sides of the triangle is equal in length will be printed the words "equilateral". If only two sides of the same will be printed "isosceles" and when the 3 side triangle is not the same as it will be printed "not both".
Hint: a) Using the operator AND (& &) / OR (| |)
Hint: b) Not allowed to use your logical AND and OR
Langganan:
Postingan (Atom)