SlideShare a Scribd company logo
1 of 1
Download to read offline
// Write a function that multiplies each element in the array "myArray" // by the variable
"multiplyMe". #include using namespace std; // TODO - Write your function prototype here
int main() { const int SIZE = 10; int myArray [SIZE] = {5, 10, 15, 20, 25, 30, 35, 40, 45,
50}; int multiplyMe = 5; // TODO - Add your function call here // print the array
for(int i=0; i < SIZE; i++) { cout << myArray[i] << " "; } cout << endl; return
0; } // TODO - Write your function definition here
Solution

More Related Content

More from mdameer02

explain why the jovian planet atmospheres are called primitive atmos.pdf
explain why the jovian planet atmospheres are called primitive atmos.pdfexplain why the jovian planet atmospheres are called primitive atmos.pdf
explain why the jovian planet atmospheres are called primitive atmos.pdfmdameer02
 
During digestion, in the intestinal lumen certain glycerols, FFA an.pdf
During digestion, in the intestinal lumen certain glycerols, FFA an.pdfDuring digestion, in the intestinal lumen certain glycerols, FFA an.pdf
During digestion, in the intestinal lumen certain glycerols, FFA an.pdfmdameer02
 
Describe the structures and functions associated with the water-vascu.pdf
Describe the structures and functions associated with the water-vascu.pdfDescribe the structures and functions associated with the water-vascu.pdf
Describe the structures and functions associated with the water-vascu.pdfmdameer02
 
Considering the atoms bonded and the shape of an H_2O molecule, is th.pdf
Considering the atoms bonded and the shape of an H_2O molecule, is th.pdfConsidering the atoms bonded and the shape of an H_2O molecule, is th.pdf
Considering the atoms bonded and the shape of an H_2O molecule, is th.pdfmdameer02
 
describe the differences and similarities between viruses, worms, an.pdf
describe the differences and similarities between viruses, worms, an.pdfdescribe the differences and similarities between viruses, worms, an.pdf
describe the differences and similarities between viruses, worms, an.pdfmdameer02
 
A window has the rectangle surmounted by a semi circle the total per.pdf
A window has the rectangle surmounted by a semi circle the total per.pdfA window has the rectangle surmounted by a semi circle the total per.pdf
A window has the rectangle surmounted by a semi circle the total per.pdfmdameer02
 
Can you identify how energy flows through an ecosystemCan you i.pdf
Can you identify how energy flows through an ecosystemCan you i.pdfCan you identify how energy flows through an ecosystemCan you i.pdf
Can you identify how energy flows through an ecosystemCan you i.pdfmdameer02
 
You must use the full name, no abbreviations. Name the dynamic found.pdf
You must use the full name, no abbreviations.  Name the dynamic found.pdfYou must use the full name, no abbreviations.  Name the dynamic found.pdf
You must use the full name, no abbreviations. Name the dynamic found.pdfmdameer02
 
You are burning the latest song you bought on ITunes to a disk. The .pdf
You are burning the latest song you bought on ITunes to a disk. The .pdfYou are burning the latest song you bought on ITunes to a disk. The .pdf
You are burning the latest song you bought on ITunes to a disk. The .pdfmdameer02
 
Write a scientific research paper that investigates the properties of.pdf
Write a scientific research paper that investigates the properties of.pdfWrite a scientific research paper that investigates the properties of.pdf
Write a scientific research paper that investigates the properties of.pdfmdameer02
 
Which of the following is NOT a common feature of monosaccharidesA..pdf
Which of the following is NOT a common feature of monosaccharidesA..pdfWhich of the following is NOT a common feature of monosaccharidesA..pdf
Which of the following is NOT a common feature of monosaccharidesA..pdfmdameer02
 
Who are the owners of a cor[poration,and how is their ownership repr.pdf
Who are the owners of a cor[poration,and how is their ownership repr.pdfWho are the owners of a cor[poration,and how is their ownership repr.pdf
Who are the owners of a cor[poration,and how is their ownership repr.pdfmdameer02
 
Which of these is not a determinant of diseaserandom eventaging.pdf
Which of these is not a determinant of diseaserandom eventaging.pdfWhich of these is not a determinant of diseaserandom eventaging.pdf
Which of these is not a determinant of diseaserandom eventaging.pdfmdameer02
 
2A) You are the first to arrive at the scene of a house fire. You he.pdf
2A) You are the first to arrive at the scene of a house fire. You he.pdf2A) You are the first to arrive at the scene of a house fire. You he.pdf
2A) You are the first to arrive at the scene of a house fire. You he.pdfmdameer02
 
Which of the following best describes link encryptionA. Data is e.pdf
Which of the following best describes link encryptionA. Data is e.pdfWhich of the following best describes link encryptionA. Data is e.pdf
Which of the following best describes link encryptionA. Data is e.pdfmdameer02
 
What structure surrounding the cytoplasm is composed mostly of a phos.pdf
What structure surrounding the cytoplasm is composed mostly of a phos.pdfWhat structure surrounding the cytoplasm is composed mostly of a phos.pdf
What structure surrounding the cytoplasm is composed mostly of a phos.pdfmdameer02
 
What is happening in the starkeythiosulfate broth that results in a.pdf
What is happening in the starkeythiosulfate broth that results in a.pdfWhat is happening in the starkeythiosulfate broth that results in a.pdf
What is happening in the starkeythiosulfate broth that results in a.pdfmdameer02
 
What is the relationship between molecular biology and cell biology.pdf
What is the relationship between molecular biology and cell biology.pdfWhat is the relationship between molecular biology and cell biology.pdf
What is the relationship between molecular biology and cell biology.pdfmdameer02
 
what are some examples of hazaedous waste remediationSolution.pdf
what are some examples of hazaedous waste remediationSolution.pdfwhat are some examples of hazaedous waste remediationSolution.pdf
what are some examples of hazaedous waste remediationSolution.pdfmdameer02
 
This is a criminal justice question.Is it ever right for a law enf.pdf
This is a criminal justice question.Is it ever right for a law enf.pdfThis is a criminal justice question.Is it ever right for a law enf.pdf
This is a criminal justice question.Is it ever right for a law enf.pdfmdameer02
 

More from mdameer02 (20)

explain why the jovian planet atmospheres are called primitive atmos.pdf
explain why the jovian planet atmospheres are called primitive atmos.pdfexplain why the jovian planet atmospheres are called primitive atmos.pdf
explain why the jovian planet atmospheres are called primitive atmos.pdf
 
During digestion, in the intestinal lumen certain glycerols, FFA an.pdf
During digestion, in the intestinal lumen certain glycerols, FFA an.pdfDuring digestion, in the intestinal lumen certain glycerols, FFA an.pdf
During digestion, in the intestinal lumen certain glycerols, FFA an.pdf
 
Describe the structures and functions associated with the water-vascu.pdf
Describe the structures and functions associated with the water-vascu.pdfDescribe the structures and functions associated with the water-vascu.pdf
Describe the structures and functions associated with the water-vascu.pdf
 
Considering the atoms bonded and the shape of an H_2O molecule, is th.pdf
Considering the atoms bonded and the shape of an H_2O molecule, is th.pdfConsidering the atoms bonded and the shape of an H_2O molecule, is th.pdf
Considering the atoms bonded and the shape of an H_2O molecule, is th.pdf
 
describe the differences and similarities between viruses, worms, an.pdf
describe the differences and similarities between viruses, worms, an.pdfdescribe the differences and similarities between viruses, worms, an.pdf
describe the differences and similarities between viruses, worms, an.pdf
 
A window has the rectangle surmounted by a semi circle the total per.pdf
A window has the rectangle surmounted by a semi circle the total per.pdfA window has the rectangle surmounted by a semi circle the total per.pdf
A window has the rectangle surmounted by a semi circle the total per.pdf
 
Can you identify how energy flows through an ecosystemCan you i.pdf
Can you identify how energy flows through an ecosystemCan you i.pdfCan you identify how energy flows through an ecosystemCan you i.pdf
Can you identify how energy flows through an ecosystemCan you i.pdf
 
You must use the full name, no abbreviations. Name the dynamic found.pdf
You must use the full name, no abbreviations.  Name the dynamic found.pdfYou must use the full name, no abbreviations.  Name the dynamic found.pdf
You must use the full name, no abbreviations. Name the dynamic found.pdf
 
You are burning the latest song you bought on ITunes to a disk. The .pdf
You are burning the latest song you bought on ITunes to a disk. The .pdfYou are burning the latest song you bought on ITunes to a disk. The .pdf
You are burning the latest song you bought on ITunes to a disk. The .pdf
 
Write a scientific research paper that investigates the properties of.pdf
Write a scientific research paper that investigates the properties of.pdfWrite a scientific research paper that investigates the properties of.pdf
Write a scientific research paper that investigates the properties of.pdf
 
Which of the following is NOT a common feature of monosaccharidesA..pdf
Which of the following is NOT a common feature of monosaccharidesA..pdfWhich of the following is NOT a common feature of monosaccharidesA..pdf
Which of the following is NOT a common feature of monosaccharidesA..pdf
 
Who are the owners of a cor[poration,and how is their ownership repr.pdf
Who are the owners of a cor[poration,and how is their ownership repr.pdfWho are the owners of a cor[poration,and how is their ownership repr.pdf
Who are the owners of a cor[poration,and how is their ownership repr.pdf
 
Which of these is not a determinant of diseaserandom eventaging.pdf
Which of these is not a determinant of diseaserandom eventaging.pdfWhich of these is not a determinant of diseaserandom eventaging.pdf
Which of these is not a determinant of diseaserandom eventaging.pdf
 
2A) You are the first to arrive at the scene of a house fire. You he.pdf
2A) You are the first to arrive at the scene of a house fire. You he.pdf2A) You are the first to arrive at the scene of a house fire. You he.pdf
2A) You are the first to arrive at the scene of a house fire. You he.pdf
 
Which of the following best describes link encryptionA. Data is e.pdf
Which of the following best describes link encryptionA. Data is e.pdfWhich of the following best describes link encryptionA. Data is e.pdf
Which of the following best describes link encryptionA. Data is e.pdf
 
What structure surrounding the cytoplasm is composed mostly of a phos.pdf
What structure surrounding the cytoplasm is composed mostly of a phos.pdfWhat structure surrounding the cytoplasm is composed mostly of a phos.pdf
What structure surrounding the cytoplasm is composed mostly of a phos.pdf
 
What is happening in the starkeythiosulfate broth that results in a.pdf
What is happening in the starkeythiosulfate broth that results in a.pdfWhat is happening in the starkeythiosulfate broth that results in a.pdf
What is happening in the starkeythiosulfate broth that results in a.pdf
 
What is the relationship between molecular biology and cell biology.pdf
What is the relationship between molecular biology and cell biology.pdfWhat is the relationship between molecular biology and cell biology.pdf
What is the relationship between molecular biology and cell biology.pdf
 
what are some examples of hazaedous waste remediationSolution.pdf
what are some examples of hazaedous waste remediationSolution.pdfwhat are some examples of hazaedous waste remediationSolution.pdf
what are some examples of hazaedous waste remediationSolution.pdf
 
This is a criminal justice question.Is it ever right for a law enf.pdf
This is a criminal justice question.Is it ever right for a law enf.pdfThis is a criminal justice question.Is it ever right for a law enf.pdf
This is a criminal justice question.Is it ever right for a law enf.pdf
 

Recently uploaded

Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportDenish Jangid
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfcupulin
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptxVishal Singh
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFVivekanand Anglo Vedic Academy
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesPooky Knightsmith
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...Nguyen Thanh Tu Collection
 
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
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnershipsexpandedwebsite
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi RajagopalEADTU
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code ExamplesPeter Brusilovsky
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjMohammed Sikander
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project researchCaitlinCummins3
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesAmanpreetKaur157993
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17Celine George
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxAdelaideRefugio
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxLimon Prince
 

Recently uploaded (20)

Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategies
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 

Write a function that multiplies each element in the array myA.pdf

  • 1. // Write a function that multiplies each element in the array "myArray" // by the variable "multiplyMe". #include using namespace std; // TODO - Write your function prototype here int main() { const int SIZE = 10; int myArray [SIZE] = {5, 10, 15, 20, 25, 30, 35, 40, 45, 50}; int multiplyMe = 5; // TODO - Add your function call here // print the array for(int i=0; i < SIZE; i++) { cout << myArray[i] << " "; } cout << endl; return 0; } // TODO - Write your function definition here Solution