Computer Science, asked by vangmaimahankali1603, 1 month ago

find number of independent path? READ mark,
IF(mark > 90)
GRADE = 'A';
ELSE IF(mark > 81 && marka 90)
GRADE = 'B',
ELSE IF(mark> 71 && mark < 80)
GRADE = 'C';
ELSE IF(mark > 61 && mark < 70)
GRADE - 'D':
ELSE IF(mark < 60)
GRADE = 'F';
PRINT GRADE

Answers

Answered by vishakasaxenasl
1

Answer:

There are five independent path.

Explanation:

IF(mark > 90)

GRADE = 'A';

ELSE IF(mark > 81 && marka 90)

GRADE = 'B',

ELSE IF(mark> 71 && mark < 80)

GRADE = 'C';

ELSE IF(mark > 61 && mark < 70)

GRADE - 'D':

ELSE IF(mark < 60)

GRADE = 'F';

PRINT GRADE

Since in the code give there are total of five conditions given and all of them are independent. That is why it will five independent paths.

#SPJ3

Answered by jhangir789
2

There are five independent path.

  • The study of how electromagnetic radiation interacts with matter as a function of the radiation's wavelength or frequency is known as spectroscopy.
  • Spectroscopy, historically, began as a study of the wavelength dependence of the absorption by gas phase materials of visible light distributed by a prism.
  • To put it another way, spectroscopy is the precise study of colour as generalised from visible light to all bands of the electromagnetic spectrum.

Hence, there are a total of five independent conditions in the code provided. It will therefore have five different pathways.

#SPJ2

Similar questions