The program to illustrate the integer will be:
n = int(input("Enter a number: "))
i = 1
print(n,"\t",end = "")
while(n != 1):
if(n%2 == 0):
n = n/2
else:
n = 3*n + 1
print(n,'\t',end = "")
i = i+1
if(i == 10):
i = 0
print("")
The process of creating instructions for computers to follow is known as computer programming. The code, also referred to as the instructions, is written in a programming language that the computer can comprehend and use to carry out a task or address a problem.
One can benefit from coding because it boosts their confidence and it equips one with the practical abilities like creativity, problem-solving, and perseverance.
Learn more about program on:
https://brainly.com/question/1538272
#SPJ1