Suppose a one dimension array A with 50 elements is entered into inputbox. This code calculate the product (prod), then print the final result of product: * Prod I,(1- A) %3D prod = 1 1-.... 2-.......


Suppose a one dimension array A with 50 elements is entered into<br>inputbox. This code calculate the product (prod), then print the final result<br>of product: *<br>Prod I,(1- A)<br>%3D<br>prod = 1<br>1-....<br>2-....<br>3....<br>4-.<br>5-...<br>O 1-For i= 1 To 50 2-A(i) = InputBox('A

Extracted text: Suppose a one dimension array A with 50 elements is entered into inputbox. This code calculate the product (prod), then print the final result of product: * Prod I,(1- A) %3D prod = 1 1-.... 2-.... 3.... 4-. 5-... O 1-For i= 1 To 50 2-A(i) = InputBox('A") 3-prod = prod (1- A(1)) 4-Next 5-Print prod O 1-A(1) = InputBox("A") 2-For i =1 To 50 3-prod = prod (1- A(1)) 4-Print prod 5-Next %3! O 1-For i = 1 To 50 2-A() = InputBox('A') 3-prod = prod-(A()) 4-Next 5-Print prod %3D O 1-For i = 1 To 50 2-A(i) = InputBox("A") 3-prod = prod - (1 - A(1)) 4-Next 5-Print prod 1-For i = 1 To 50 2-prod = prod (1 - A(1)) 3- A(I) = InputBox("A") 4-Next 5-Print prod %3D
Suppose N is a (4x2) matrix. This program segment find the minimum<br>value in N.*<br>1-.......<br>For I 1 To 4<br>For J 1 To 2<br>2-....<br>3-.....<br>4-......<br>5-....<br>O 1-Min = N(1, 1) 2-If N(I, J) < Min Then 3-Min = N(I, J) 4-Next J,15-End If<br>!3!<br>O 1-Min = N(1, 1) 2-If N(I, J) < Min Then 3-Min N(I, J) 4-End If 5-Next J, I<br>!!<br>O 1-Min = N(1, 1) 2-If N(I, J) >Min Then 3-Min = N(I, J) 4-End If 5-Next J, I<br>O 1-Min = N(1, 1) 2-lf N(I, J) < Min Then 3-Min = N(I, J) 4-End If 5-Next I, J<br>

Extracted text: Suppose N is a (4x2) matrix. This program segment find the minimum value in N.* 1-....... For I 1 To 4 For J 1 To 2 2-.... 3-..... 4-...... 5-.... O 1-Min = N(1, 1) 2-If N(I, J) < min="" then="" 3-min="N(I," j)="" 4-next="" j,15-end="" if="" !3!="" o="" 1-min="N(1," 1)="" 2-if="" n(i,="" j)="">< min="" then="" 3-min="" n(i,="" j)="" 4-end="" if="" 5-next="" j,="" i="" !!="" o="" 1-min="N(1," 1)="" 2-if="" n(i,="" j)="">Min Then 3-Min = N(I, J) 4-End If 5-Next J, I O 1-Min = N(1, 1) 2-lf N(I, J) < min="" then="" 3-min="N(I," j)="" 4-end="" if="" 5-next="" i,="">

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here