1) write VB program's code and Design the form to read 4 elements one dimensional array A(4) then create another array B(4) such that each element of B increased by the following factor from array A: B(I)= A(I)+I+1) For example B(1)=A(1)+ 12 B(2)=A(2)+2³ B(3)=A(3)+34 B(4)=A(4)+45 then print two arrays each row element of A and element of B for example A B 1 2 6 14 3 84 1 1025

Structural Analysis
6th Edition
ISBN:9781337630931
Author:KASSIMALI, Aslam.
Publisher:KASSIMALI, Aslam.
Chapter2: Loads On Structures
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

Visual basic

1) write VB program's code and Design the form to read 4 elements one
dimensional array A(4) then create another array B(4) such that each
element of B increased by the following factor from array A:
B(I)= A(I)+I+1)
For example
B(1)=A(1)+ 12
B(2)=A(2)+2³
B(3)=A(3)+34
B(4)=A(4)+45
then print two arrays each row element of A and element of B for example
A
B
1
2
6
14
3
84
1
1025
Transcribed Image Text:1) write VB program's code and Design the form to read 4 elements one dimensional array A(4) then create another array B(4) such that each element of B increased by the following factor from array A: B(I)= A(I)+I+1) For example B(1)=A(1)+ 12 B(2)=A(2)+2³ B(3)=A(3)+34 B(4)=A(4)+45 then print two arrays each row element of A and element of B for example A B 1 2 6 14 3 84 1 1025
Expert Solution
steps

Step by step

Solved in 1 steps

Blurred answer
Recommended textbooks for you
Structural Analysis
Structural Analysis
Civil Engineering
ISBN:
9781337630931
Author:
KASSIMALI, Aslam.
Publisher:
Cengage,
Structural Analysis (10th Edition)
Structural Analysis (10th Edition)
Civil Engineering
ISBN:
9780134610672
Author:
Russell C. Hibbeler
Publisher:
PEARSON
Principles of Foundation Engineering (MindTap Cou…
Principles of Foundation Engineering (MindTap Cou…
Civil Engineering
ISBN:
9781337705028
Author:
Braja M. Das, Nagaratnam Sivakugan
Publisher:
Cengage Learning
Fundamentals of Structural Analysis
Fundamentals of Structural Analysis
Civil Engineering
ISBN:
9780073398006
Author:
Kenneth M. Leet Emeritus, Chia-Ming Uang, Joel Lanning
Publisher:
McGraw-Hill Education
Sustainable Energy
Sustainable Energy
Civil Engineering
ISBN:
9781337551663
Author:
DUNLAP, Richard A.
Publisher:
Cengage,
Traffic and Highway Engineering
Traffic and Highway Engineering
Civil Engineering
ISBN:
9781305156241
Author:
Garber, Nicholas J.
Publisher:
Cengage Learning