Computer Science, asked by samarthverulkar8, 8 months ago

Activity 2: Display the average of marks in 3 subjects
Calculate the average of marks scored in 3 subjects and display the result.

For example:

mark1= 56
mark2= 73
mark3= 69
Average Marks = 66
Follow the steps given below to achieve the desired result:

Step 1: Declare three variables mark1, mark2 and mark3 respectively and store any numerical values in it.

Step 2: Use another variable sum to store the sum of values in mark1, mark2 and mark3 variables.

Step 3: Calculate the average by dividing the sum variable by 3. Store the result in the variable average.

Step 4: Print the average marks.

Answers

Answered by brandbabu1111984
3

Explanation:

Explanation:HTML (HyperText Markup Language) is the most basic building block of the Web. It defines the meaning and structure of web content. Other technologies besides HTML are generally used to describe a web page's appearance/presentation (CSS) or functionality/behavior (JavaScript).

Similar questions