ram (true or false)

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter4: Making Decisions
Section: Chapter Questions
Problem 8RQ
icon
Related questions
Question
Did you write the program (true or false)
10 DIM A(4,4)
20 FOR I=1 TO 4
30 FOR J=1TO 4
40 READ A(I,J)
50 NEXT J: NEXT I
60 FOR J= 2 TO 3
70 MAX= A(1,J)
80 FOR I= 2 TO 4
90 IF A(I,J )< MAX THEN MAX=A(I,J)
100 NEXTI
110 S = S+MAX
120 NEXT J
130 PRINT S
140 END
Transcribed Image Text:10 DIM A(4,4) 20 FOR I=1 TO 4 30 FOR J=1TO 4 40 READ A(I,J) 50 NEXT J: NEXT I 60 FOR J= 2 TO 3 70 MAX= A(1,J) 80 FOR I= 2 TO 4 90 IF A(I,J )< MAX THEN MAX=A(I,J) 100 NEXTI 110 S = S+MAX 120 NEXT J 130 PRINT S 140 END
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Keywords
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT