SlideShare a Scribd company logo
1 of 1
PERL:
CREATE a function! (there needs to be a function)
NO MAX, so do not have input > 10 or any number, its input until the user stops
CALL the function
Write a program that creates an Average function. The Average function that takes
multiple inputs (numbers) and then finds the average of these numbers

More Related Content

More from Stewartt0kJohnstonh

Suppose that you were provided a scholarship to attend the National Ho.docx
Suppose that you were provided a scholarship to attend the National Ho.docxSuppose that you were provided a scholarship to attend the National Ho.docx
Suppose that you were provided a scholarship to attend the National Ho.docxStewartt0kJohnstonh
 
Suppose that there are three ways to get hypertension- These ways are.docx
Suppose that there are three ways to get hypertension-  These ways are.docxSuppose that there are three ways to get hypertension-  These ways are.docx
Suppose that there are three ways to get hypertension- These ways are.docxStewartt0kJohnstonh
 
Suppose that the proportions of blood phenotypes in a particular popul.docx
Suppose that the proportions of blood phenotypes in a particular popul.docxSuppose that the proportions of blood phenotypes in a particular popul.docx
Suppose that the proportions of blood phenotypes in a particular popul.docxStewartt0kJohnstonh
 
Suppose that the probability of suffering a side effect from a certain.docx
Suppose that the probability of suffering a side effect from a certain.docxSuppose that the probability of suffering a side effect from a certain.docx
Suppose that the probability of suffering a side effect from a certain.docxStewartt0kJohnstonh
 
Suppose that the average number of Facebook friends users have is norm.docx
Suppose that the average number of Facebook friends users have is norm.docxSuppose that the average number of Facebook friends users have is norm.docx
Suppose that the average number of Facebook friends users have is norm.docxStewartt0kJohnstonh
 
Suppose that in a group of 30 people- there are 7 who test positive fo.docx
Suppose that in a group of 30 people- there are 7 who test positive fo.docxSuppose that in a group of 30 people- there are 7 who test positive fo.docx
Suppose that in a group of 30 people- there are 7 who test positive fo.docxStewartt0kJohnstonh
 
Suppose that Carlos prefers current consumption to future consumption-.docx
Suppose that Carlos prefers current consumption to future consumption-.docxSuppose that Carlos prefers current consumption to future consumption-.docx
Suppose that Carlos prefers current consumption to future consumption-.docxStewartt0kJohnstonh
 
Suppose that changes in bank regulations reduce the availability of cr.docx
Suppose that changes in bank regulations reduce the availability of cr.docxSuppose that changes in bank regulations reduce the availability of cr.docx
Suppose that changes in bank regulations reduce the availability of cr.docxStewartt0kJohnstonh
 
Suppose that autonomous consumption is 1-000 - government purchases ar.docx
Suppose that autonomous consumption is 1-000 - government purchases ar.docxSuppose that autonomous consumption is 1-000 - government purchases ar.docx
Suppose that autonomous consumption is 1-000 - government purchases ar.docxStewartt0kJohnstonh
 
Suppose that a random variable X has only two values- 0 and 10- If P(X.docx
Suppose that a random variable X has only two values- 0 and 10- If P(X.docxSuppose that a random variable X has only two values- 0 and 10- If P(X.docx
Suppose that a random variable X has only two values- 0 and 10- If P(X.docxStewartt0kJohnstonh
 
Suppose that A and B are independent events such that P ()-0-40 and P.docx
Suppose that A and B are independent events such that P ()-0-40 and P.docxSuppose that A and B are independent events such that P ()-0-40 and P.docx
Suppose that A and B are independent events such that P ()-0-40 and P.docxStewartt0kJohnstonh
 
Suppose that 57- of the women who gave birth at a certain hospital las.docx
Suppose that 57- of the women who gave birth at a certain hospital las.docxSuppose that 57- of the women who gave birth at a certain hospital las.docx
Suppose that 57- of the women who gave birth at a certain hospital las.docxStewartt0kJohnstonh
 
Suppose someone retweets a tweet that makes explicit threats against o.docx
Suppose someone retweets a tweet that makes explicit threats against o.docxSuppose someone retweets a tweet that makes explicit threats against o.docx
Suppose someone retweets a tweet that makes explicit threats against o.docxStewartt0kJohnstonh
 
Suppose G is a weiqhted qraph with 8 vertices and 11 edqes- where s-t-.docx
Suppose G is a weiqhted qraph with 8 vertices and 11 edqes- where s-t-.docxSuppose G is a weiqhted qraph with 8 vertices and 11 edqes- where s-t-.docx
Suppose G is a weiqhted qraph with 8 vertices and 11 edqes- where s-t-.docxStewartt0kJohnstonh
 
Summers Sign Company Adjusted Trial Balance January 31-2024The adjuate.docx
Summers Sign Company Adjusted Trial Balance January 31-2024The adjuate.docxSummers Sign Company Adjusted Trial Balance January 31-2024The adjuate.docx
Summers Sign Company Adjusted Trial Balance January 31-2024The adjuate.docxStewartt0kJohnstonh
 
Supplier Contract and Profitability(8-2) Create a two-way data table f.docx
Supplier Contract and Profitability(8-2) Create a two-way data table f.docxSupplier Contract and Profitability(8-2) Create a two-way data table f.docx
Supplier Contract and Profitability(8-2) Create a two-way data table f.docxStewartt0kJohnstonh
 
Students at a major unlversity in Southern California are complaining.docx
Students at a major unlversity in Southern California are complaining.docxStudents at a major unlversity in Southern California are complaining.docx
Students at a major unlversity in Southern California are complaining.docxStewartt0kJohnstonh
 
Students are required to initiate their project by writing a Project C.docx
Students are required to initiate their project by writing a Project C.docxStudents are required to initiate their project by writing a Project C.docx
Students are required to initiate their project by writing a Project C.docxStewartt0kJohnstonh
 
Subsequent to the acquisition- Drover obtains information that Exeter'.docx
Subsequent to the acquisition- Drover obtains information that Exeter'.docxSubsequent to the acquisition- Drover obtains information that Exeter'.docx
Subsequent to the acquisition- Drover obtains information that Exeter'.docxStewartt0kJohnstonh
 
Succession planning is very important for all boards- Explain the role.docx
Succession planning is very important for all boards- Explain the role.docxSuccession planning is very important for all boards- Explain the role.docx
Succession planning is very important for all boards- Explain the role.docxStewartt0kJohnstonh
 

More from Stewartt0kJohnstonh (20)

Suppose that you were provided a scholarship to attend the National Ho.docx
Suppose that you were provided a scholarship to attend the National Ho.docxSuppose that you were provided a scholarship to attend the National Ho.docx
Suppose that you were provided a scholarship to attend the National Ho.docx
 
Suppose that there are three ways to get hypertension- These ways are.docx
Suppose that there are three ways to get hypertension-  These ways are.docxSuppose that there are three ways to get hypertension-  These ways are.docx
Suppose that there are three ways to get hypertension- These ways are.docx
 
Suppose that the proportions of blood phenotypes in a particular popul.docx
Suppose that the proportions of blood phenotypes in a particular popul.docxSuppose that the proportions of blood phenotypes in a particular popul.docx
Suppose that the proportions of blood phenotypes in a particular popul.docx
 
Suppose that the probability of suffering a side effect from a certain.docx
Suppose that the probability of suffering a side effect from a certain.docxSuppose that the probability of suffering a side effect from a certain.docx
Suppose that the probability of suffering a side effect from a certain.docx
 
Suppose that the average number of Facebook friends users have is norm.docx
Suppose that the average number of Facebook friends users have is norm.docxSuppose that the average number of Facebook friends users have is norm.docx
Suppose that the average number of Facebook friends users have is norm.docx
 
Suppose that in a group of 30 people- there are 7 who test positive fo.docx
Suppose that in a group of 30 people- there are 7 who test positive fo.docxSuppose that in a group of 30 people- there are 7 who test positive fo.docx
Suppose that in a group of 30 people- there are 7 who test positive fo.docx
 
Suppose that Carlos prefers current consumption to future consumption-.docx
Suppose that Carlos prefers current consumption to future consumption-.docxSuppose that Carlos prefers current consumption to future consumption-.docx
Suppose that Carlos prefers current consumption to future consumption-.docx
 
Suppose that changes in bank regulations reduce the availability of cr.docx
Suppose that changes in bank regulations reduce the availability of cr.docxSuppose that changes in bank regulations reduce the availability of cr.docx
Suppose that changes in bank regulations reduce the availability of cr.docx
 
Suppose that autonomous consumption is 1-000 - government purchases ar.docx
Suppose that autonomous consumption is 1-000 - government purchases ar.docxSuppose that autonomous consumption is 1-000 - government purchases ar.docx
Suppose that autonomous consumption is 1-000 - government purchases ar.docx
 
Suppose that a random variable X has only two values- 0 and 10- If P(X.docx
Suppose that a random variable X has only two values- 0 and 10- If P(X.docxSuppose that a random variable X has only two values- 0 and 10- If P(X.docx
Suppose that a random variable X has only two values- 0 and 10- If P(X.docx
 
Suppose that A and B are independent events such that P ()-0-40 and P.docx
Suppose that A and B are independent events such that P ()-0-40 and P.docxSuppose that A and B are independent events such that P ()-0-40 and P.docx
Suppose that A and B are independent events such that P ()-0-40 and P.docx
 
Suppose that 57- of the women who gave birth at a certain hospital las.docx
Suppose that 57- of the women who gave birth at a certain hospital las.docxSuppose that 57- of the women who gave birth at a certain hospital las.docx
Suppose that 57- of the women who gave birth at a certain hospital las.docx
 
Suppose someone retweets a tweet that makes explicit threats against o.docx
Suppose someone retweets a tweet that makes explicit threats against o.docxSuppose someone retweets a tweet that makes explicit threats against o.docx
Suppose someone retweets a tweet that makes explicit threats against o.docx
 
Suppose G is a weiqhted qraph with 8 vertices and 11 edqes- where s-t-.docx
Suppose G is a weiqhted qraph with 8 vertices and 11 edqes- where s-t-.docxSuppose G is a weiqhted qraph with 8 vertices and 11 edqes- where s-t-.docx
Suppose G is a weiqhted qraph with 8 vertices and 11 edqes- where s-t-.docx
 
Summers Sign Company Adjusted Trial Balance January 31-2024The adjuate.docx
Summers Sign Company Adjusted Trial Balance January 31-2024The adjuate.docxSummers Sign Company Adjusted Trial Balance January 31-2024The adjuate.docx
Summers Sign Company Adjusted Trial Balance January 31-2024The adjuate.docx
 
Supplier Contract and Profitability(8-2) Create a two-way data table f.docx
Supplier Contract and Profitability(8-2) Create a two-way data table f.docxSupplier Contract and Profitability(8-2) Create a two-way data table f.docx
Supplier Contract and Profitability(8-2) Create a two-way data table f.docx
 
Students at a major unlversity in Southern California are complaining.docx
Students at a major unlversity in Southern California are complaining.docxStudents at a major unlversity in Southern California are complaining.docx
Students at a major unlversity in Southern California are complaining.docx
 
Students are required to initiate their project by writing a Project C.docx
Students are required to initiate their project by writing a Project C.docxStudents are required to initiate their project by writing a Project C.docx
Students are required to initiate their project by writing a Project C.docx
 
Subsequent to the acquisition- Drover obtains information that Exeter'.docx
Subsequent to the acquisition- Drover obtains information that Exeter'.docxSubsequent to the acquisition- Drover obtains information that Exeter'.docx
Subsequent to the acquisition- Drover obtains information that Exeter'.docx
 
Succession planning is very important for all boards- Explain the role.docx
Succession planning is very important for all boards- Explain the role.docxSuccession planning is very important for all boards- Explain the role.docx
Succession planning is very important for all boards- Explain the role.docx
 

Recently uploaded

Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationNeilDeclaro1
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
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
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
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
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answersdalebeck957
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactisticshameyhk98
 
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
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfstareducators107
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 

Recently uploaded (20)

Basic Intentional Injuries Health Education
Basic Intentional Injuries Health EducationBasic Intentional Injuries Health Education
Basic Intentional Injuries Health Education
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
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Ă...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
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
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
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
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 

PERL- CREATE a function! (there needs to be a function) NO MAX- so do.docx

  • 1. PERL: CREATE a function! (there needs to be a function) NO MAX, so do not have input > 10 or any number, its input until the user stops CALL the function Write a program that creates an Average function. The Average function that takes multiple inputs (numbers) and then finds the average of these numbers