The syntax is truly dependent on the programming language, as different languages have different API's.
But, the most standard form of accessing an array length is via a method or property by dot notation.
For example -
for(int i = 0; i <= m_Array.Length; i++) {...}
This code is from C#, using the Length property.
Explanation:
A. Pseudocode to determine the area of a triangle given value the base b andthe height h:-
START
INPUT b
INPUT h
COMPUTE Area = 0.5*b*h
DISPLAY Area
STOP
B. Pseudocode to compute the simple interest earned in 1 year given the starting account balance B and annual interest rate I :-
START
INPUT B
INPUT I
COMPUTE Interest = (B*I*1)/100
DISPLAY Interest
STOP
C. Pseudocode to determine the flying time between two cities given the mileage M between them and average speed of the airplane :-
START
INPUT M
INPUT S
COMPUTE Time = M/S
DISPLAY Time
STOP
I don’t know what the heck is it true
Answer:
50*8/2
The asterisk is the multiplication sign and the parenthesis is the division.
I've never used an apostrophe for a multiplication sign before, but I'm guessing multiplication is what it stands for.
Explanation: