SlideShare a Scribd company logo
1 of 2
(SciLab) Write a program that displays all numbers between input parameters "lower_limit"
and "upper_limit" that have at least one digit equal to '2'. Note: "lower_limit" and
upper_limit" are positive integers.
I need to write this in SciLab, I'm new to computer science and am still learning how to use it.
Solution
//Write a program that displays all numbers between input parameters "lower_limit" and
"upper_limit"
function d=displaynum(lower_limit,upper_limit)//function define
for d =lower_limit:upper_limit //range of numbers
disp(d) //display
end
endfunction
x=input('Enter Lower_limit positive integer')//prompt for input values
Enter Lower_limit positive integer 1
x=1
y=input('Enter Upper_limit positive integer')
Enter Upper_limit positive integer 5
y=5
d=displaynum(x,y)
sample output
1
2
3
4
5
(SciLab) Write a program that displays all numbers between input param.docx

More Related Content

Similar to (SciLab) Write a program that displays all numbers between input param.docx

PROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docx
PROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docxPROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docx
PROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docxamrit47
 
OverviewThis hands-on lab allows you to follow and experiment w.docx
OverviewThis hands-on lab allows you to follow and experiment w.docxOverviewThis hands-on lab allows you to follow and experiment w.docx
OverviewThis hands-on lab allows you to follow and experiment w.docxgerardkortney
 
Cs291 assignment solution
Cs291 assignment solutionCs291 assignment solution
Cs291 assignment solutionKuntal Bhowmick
 
B.Com 1year Lab programs
B.Com 1year Lab programsB.Com 1year Lab programs
B.Com 1year Lab programsPrasadu Peddi
 
Sample Program file class 11.pdf
Sample Program file class 11.pdfSample Program file class 11.pdf
Sample Program file class 11.pdfYashMirge2
 
Functions Practice Sheet.docx
Functions Practice Sheet.docxFunctions Practice Sheet.docx
Functions Practice Sheet.docxSwatiMishra364461
 
Answers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Answers To Selected Exercises For Fortran 90 95 For Scientists And EngineersAnswers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Answers To Selected Exercises For Fortran 90 95 For Scientists And EngineersSheila Sinclair
 
Important C program of Balagurusamy Book
Important C program of Balagurusamy BookImportant C program of Balagurusamy Book
Important C program of Balagurusamy BookAbir Hossain
 
Dam31303 dti2143 lab sheet 7
Dam31303 dti2143 lab sheet 7Dam31303 dti2143 lab sheet 7
Dam31303 dti2143 lab sheet 7alish sha
 
1 ECE 175 Computer Programming for Engineering Applica.docx
1  ECE 175 Computer Programming for Engineering Applica.docx1  ECE 175 Computer Programming for Engineering Applica.docx
1 ECE 175 Computer Programming for Engineering Applica.docxoswald1horne84988
 
python practicals-solution-2019-20-class-xii.pdf
python practicals-solution-2019-20-class-xii.pdfpython practicals-solution-2019-20-class-xii.pdf
python practicals-solution-2019-20-class-xii.pdfrajatxyz
 

Similar to (SciLab) Write a program that displays all numbers between input param.docx (17)

C code examples
C code examplesC code examples
C code examples
 
PROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docx
PROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docxPROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docx
PROVIDE COMMENTS TO FELLOW STUDENTS ANSWERS AND PLEASE DON’T SAY G.docx
 
OverviewThis hands-on lab allows you to follow and experiment w.docx
OverviewThis hands-on lab allows you to follow and experiment w.docxOverviewThis hands-on lab allows you to follow and experiment w.docx
OverviewThis hands-on lab allows you to follow and experiment w.docx
 
Operators1.pptx
Operators1.pptxOperators1.pptx
Operators1.pptx
 
Cs291 assignment solution
Cs291 assignment solutionCs291 assignment solution
Cs291 assignment solution
 
B.Com 1year Lab programs
B.Com 1year Lab programsB.Com 1year Lab programs
B.Com 1year Lab programs
 
C++ manual Report Full
C++ manual Report FullC++ manual Report Full
C++ manual Report Full
 
Sample Program file class 11.pdf
Sample Program file class 11.pdfSample Program file class 11.pdf
Sample Program file class 11.pdf
 
Functions Practice Sheet.docx
Functions Practice Sheet.docxFunctions Practice Sheet.docx
Functions Practice Sheet.docx
 
Answers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Answers To Selected Exercises For Fortran 90 95 For Scientists And EngineersAnswers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Answers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
 
keyword
keywordkeyword
keyword
 
keyword
keywordkeyword
keyword
 
Important C program of Balagurusamy Book
Important C program of Balagurusamy BookImportant C program of Balagurusamy Book
Important C program of Balagurusamy Book
 
L03vars
L03varsL03vars
L03vars
 
Dam31303 dti2143 lab sheet 7
Dam31303 dti2143 lab sheet 7Dam31303 dti2143 lab sheet 7
Dam31303 dti2143 lab sheet 7
 
1 ECE 175 Computer Programming for Engineering Applica.docx
1  ECE 175 Computer Programming for Engineering Applica.docx1  ECE 175 Computer Programming for Engineering Applica.docx
1 ECE 175 Computer Programming for Engineering Applica.docx
 
python practicals-solution-2019-20-class-xii.pdf
python practicals-solution-2019-20-class-xii.pdfpython practicals-solution-2019-20-class-xii.pdf
python practicals-solution-2019-20-class-xii.pdf
 

More from todd341

(23) Which of the following processes is a physical change- baking coo.docx
(23) Which of the following processes is a physical change- baking coo.docx(23) Which of the following processes is a physical change- baking coo.docx
(23) Which of the following processes is a physical change- baking coo.docxtodd341
 
(1) Write a comment on a significant violation of privacy for instance.docx
(1) Write a comment on a significant violation of privacy for instance.docx(1) Write a comment on a significant violation of privacy for instance.docx
(1) Write a comment on a significant violation of privacy for instance.docxtodd341
 
(1) Complete the MO diagram for CN by filling the table with the numbe.docx
(1) Complete the MO diagram for CN by filling the table with the numbe.docx(1) Complete the MO diagram for CN by filling the table with the numbe.docx
(1) Complete the MO diagram for CN by filling the table with the numbe.docxtodd341
 
(b) What ions were present in the following solutions before you added.docx
(b) What ions were present in the following solutions before you added.docx(b) What ions were present in the following solutions before you added.docx
(b) What ions were present in the following solutions before you added.docxtodd341
 
(Second picture is the preceding truth table) How do I complete the.docx
(Second picture is the preceding truth table)    How do I complete the.docx(Second picture is the preceding truth table)    How do I complete the.docx
(Second picture is the preceding truth table) How do I complete the.docxtodd341
 
#389 of Liquids Solutions-OP Which one of the following statements con.docx
#389 of Liquids Solutions-OP Which one of the following statements con.docx#389 of Liquids Solutions-OP Which one of the following statements con.docx
#389 of Liquids Solutions-OP Which one of the following statements con.docxtodd341
 
(i) In terms of bonding- explain why silicate materials have relativel.docx
(i) In terms of bonding- explain why silicate materials have relativel.docx(i) In terms of bonding- explain why silicate materials have relativel.docx
(i) In terms of bonding- explain why silicate materials have relativel.docxtodd341
 
(Accounting Info Systems) When designing a database why is it not pref.docx
(Accounting Info Systems) When designing a database why is it not pref.docx(Accounting Info Systems) When designing a database why is it not pref.docx
(Accounting Info Systems) When designing a database why is it not pref.docxtodd341
 
(6) Times interest earned ratio- (7) Return on common stockholders-' e.docx
(6) Times interest earned ratio- (7) Return on common stockholders-' e.docx(6) Times interest earned ratio- (7) Return on common stockholders-' e.docx
(6) Times interest earned ratio- (7) Return on common stockholders-' e.docxtodd341
 
(5 pts) Which of the following compounds are soluble in water- NH NO-.docx
(5 pts) Which of the following compounds are soluble in water- NH NO-.docx(5 pts) Which of the following compounds are soluble in water- NH NO-.docx
(5 pts) Which of the following compounds are soluble in water- NH NO-.docxtodd341
 
(30 pts-) How would you prepare 200 mL of a 2-0 M NaOH solution by dil.docx
(30 pts-) How would you prepare 200 mL of a 2-0 M NaOH solution by dil.docx(30 pts-) How would you prepare 200 mL of a 2-0 M NaOH solution by dil.docx
(30 pts-) How would you prepare 200 mL of a 2-0 M NaOH solution by dil.docxtodd341
 
(3) Issues and payments of debt (4) Purchases- sales- and exchanges of.docx
(3) Issues and payments of debt (4) Purchases- sales- and exchanges of.docx(3) Issues and payments of debt (4) Purchases- sales- and exchanges of.docx
(3) Issues and payments of debt (4) Purchases- sales- and exchanges of.docxtodd341
 

More from todd341 (12)

(23) Which of the following processes is a physical change- baking coo.docx
(23) Which of the following processes is a physical change- baking coo.docx(23) Which of the following processes is a physical change- baking coo.docx
(23) Which of the following processes is a physical change- baking coo.docx
 
(1) Write a comment on a significant violation of privacy for instance.docx
(1) Write a comment on a significant violation of privacy for instance.docx(1) Write a comment on a significant violation of privacy for instance.docx
(1) Write a comment on a significant violation of privacy for instance.docx
 
(1) Complete the MO diagram for CN by filling the table with the numbe.docx
(1) Complete the MO diagram for CN by filling the table with the numbe.docx(1) Complete the MO diagram for CN by filling the table with the numbe.docx
(1) Complete the MO diagram for CN by filling the table with the numbe.docx
 
(b) What ions were present in the following solutions before you added.docx
(b) What ions were present in the following solutions before you added.docx(b) What ions were present in the following solutions before you added.docx
(b) What ions were present in the following solutions before you added.docx
 
(Second picture is the preceding truth table) How do I complete the.docx
(Second picture is the preceding truth table)    How do I complete the.docx(Second picture is the preceding truth table)    How do I complete the.docx
(Second picture is the preceding truth table) How do I complete the.docx
 
#389 of Liquids Solutions-OP Which one of the following statements con.docx
#389 of Liquids Solutions-OP Which one of the following statements con.docx#389 of Liquids Solutions-OP Which one of the following statements con.docx
#389 of Liquids Solutions-OP Which one of the following statements con.docx
 
(i) In terms of bonding- explain why silicate materials have relativel.docx
(i) In terms of bonding- explain why silicate materials have relativel.docx(i) In terms of bonding- explain why silicate materials have relativel.docx
(i) In terms of bonding- explain why silicate materials have relativel.docx
 
(Accounting Info Systems) When designing a database why is it not pref.docx
(Accounting Info Systems) When designing a database why is it not pref.docx(Accounting Info Systems) When designing a database why is it not pref.docx
(Accounting Info Systems) When designing a database why is it not pref.docx
 
(6) Times interest earned ratio- (7) Return on common stockholders-' e.docx
(6) Times interest earned ratio- (7) Return on common stockholders-' e.docx(6) Times interest earned ratio- (7) Return on common stockholders-' e.docx
(6) Times interest earned ratio- (7) Return on common stockholders-' e.docx
 
(5 pts) Which of the following compounds are soluble in water- NH NO-.docx
(5 pts) Which of the following compounds are soluble in water- NH NO-.docx(5 pts) Which of the following compounds are soluble in water- NH NO-.docx
(5 pts) Which of the following compounds are soluble in water- NH NO-.docx
 
(30 pts-) How would you prepare 200 mL of a 2-0 M NaOH solution by dil.docx
(30 pts-) How would you prepare 200 mL of a 2-0 M NaOH solution by dil.docx(30 pts-) How would you prepare 200 mL of a 2-0 M NaOH solution by dil.docx
(30 pts-) How would you prepare 200 mL of a 2-0 M NaOH solution by dil.docx
 
(3) Issues and payments of debt (4) Purchases- sales- and exchanges of.docx
(3) Issues and payments of debt (4) Purchases- sales- and exchanges of.docx(3) Issues and payments of debt (4) Purchases- sales- and exchanges of.docx
(3) Issues and payments of debt (4) Purchases- sales- and exchanges of.docx
 

Recently uploaded

How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxUmeshTimilsina1
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 

Recently uploaded (20)

How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 

(SciLab) Write a program that displays all numbers between input param.docx

  • 1. (SciLab) Write a program that displays all numbers between input parameters "lower_limit" and "upper_limit" that have at least one digit equal to '2'. Note: "lower_limit" and upper_limit" are positive integers. I need to write this in SciLab, I'm new to computer science and am still learning how to use it. Solution //Write a program that displays all numbers between input parameters "lower_limit" and "upper_limit" function d=displaynum(lower_limit,upper_limit)//function define for d =lower_limit:upper_limit //range of numbers disp(d) //display end endfunction x=input('Enter Lower_limit positive integer')//prompt for input values Enter Lower_limit positive integer 1 x=1 y=input('Enter Upper_limit positive integer') Enter Upper_limit positive integer 5 y=5 d=displaynum(x,y) sample output 1 2 3 4 5