The program is an illustration of loops and conditional statements
<h3>
Loops</h3>
Loops are used to perform repetitive operations.
<h3>
Conditional statement</h3>
Conditional statements are used to make decisions
<h3>The python program</h3>
The program in Python, where comments are used to explain each line is as follows.
#The following is repeated 5 times; i.e. the rows
for i in range(5):
#The following is repeated 5 times; i.e. the columns
for j in range(5):
#For rows 2 and 5
if i == 1 or i== 3:
#For columns 1 and 5
if j == 0 or j == 4:
#This prints *
print('*',end='')
#For other columns
else:
#This prints an empty space
print('',end=' ')
#For other rows
else:
#This prints *
print('*',end='')
#This prints a new line
print()
Read more about loops at:
brainly.com/question/19344465
If you’re asking what I think your saying I know comcast does
Answer:
c. prompt(text[,default Input])
Explanation:
In javaScript the prompt() method displays a dialog box which allows the user input text required by the program.
Answer:
1) We can get various types of information, knowledge.
2) We can communicate with each other no matter where they are if they have internet connection.
3) It can be used as a source of entertainment.
4) Through internet, we can work from home especially in this quarantine time.
5) Through internet, we can show our talent and skills.
Hope it helps :)
If you liked it, please mark this answer as the brainliest one.
The syntax of a language are the rules that govern the correct order and usage of the elements of a language.
<h3>What is a programming language?</h3>
This is a set of rules that are used to send commands to a computer system as a prompt to have it perform certain tasks.
The syntax of a language are the rules that are used in that particular programming language.
Read more on syntax here: brainly.com/question/21926388