SlideShare a Scribd company logo
Write a java program to 1. Create a 2D array of integers 2. Initialize the array by getting input
from the user 3. Get the contents of 2D array and add the even numbers to single dimensional
array called Eve and the odd numbers to single dimensional array called OD 4. Print the contents
of 2D array and even and odd arrays

More Related Content

More from AARADHYACREATIONBAGR

Write a PiCtufe dause that will be used to outputa value stored in the.pdf
Write a PiCtufe dause that will be used to outputa value stored in the.pdfWrite a PiCtufe dause that will be used to outputa value stored in the.pdf
Write a PiCtufe dause that will be used to outputa value stored in the.pdf
AARADHYACREATIONBAGR
 
Write a non-member method named listInverter() that receives as parame.pdf
Write a non-member method named listInverter() that receives as parame.pdfWrite a non-member method named listInverter() that receives as parame.pdf
Write a non-member method named listInverter() that receives as parame.pdf
AARADHYACREATIONBAGR
 
Write a one page paper on the development of HCAHPS measures and how t.pdf
Write a one page paper on the development of HCAHPS measures and how t.pdfWrite a one page paper on the development of HCAHPS measures and how t.pdf
Write a one page paper on the development of HCAHPS measures and how t.pdf
AARADHYACREATIONBAGR
 
Write a method to print the values at a given interval in a chain of S.pdf
Write a method to print the values at a given interval in a chain of S.pdfWrite a method to print the values at a given interval in a chain of S.pdf
Write a method to print the values at a given interval in a chain of S.pdf
AARADHYACREATIONBAGR
 
Write a loop that will prompt the user to enter characters and display (1).pdf
Write a loop that will prompt the user to enter characters and display (1).pdfWrite a loop that will prompt the user to enter characters and display (1).pdf
Write a loop that will prompt the user to enter characters and display (1).pdf
AARADHYACREATIONBAGR
 
Write a JS code snippet that models and tests the following JS Objects.pdf
Write a JS code snippet that models and tests the following JS Objects.pdfWrite a JS code snippet that models and tests the following JS Objects.pdf
Write a JS code snippet that models and tests the following JS Objects.pdf
AARADHYACREATIONBAGR
 
Write a literature review childhood obesity in Louisiana- Charts can b.pdf
Write a literature review childhood obesity in Louisiana- Charts can b.pdfWrite a literature review childhood obesity in Louisiana- Charts can b.pdf
Write a literature review childhood obesity in Louisiana- Charts can b.pdf
AARADHYACREATIONBAGR
 
write a java program that asks the user to choose from 4 shapes (trian.pdf
write a java program that asks the user to choose from 4 shapes (trian.pdfwrite a java program that asks the user to choose from 4 shapes (trian.pdf
write a java program that asks the user to choose from 4 shapes (trian.pdf
AARADHYACREATIONBAGR
 
Write a GUI program as shown below- The program has a BorderPane that.pdf
Write a GUI program as shown below- The program has a BorderPane that.pdfWrite a GUI program as shown below- The program has a BorderPane that.pdf
Write a GUI program as shown below- The program has a BorderPane that.pdf
AARADHYACREATIONBAGR
 
Write a function to find and display the first shortest string in a li.pdf
Write a function to find and display the first shortest string in a li.pdfWrite a function to find and display the first shortest string in a li.pdf
Write a function to find and display the first shortest string in a li.pdf
AARADHYACREATIONBAGR
 
Write a function prototype using the C programming language which retu.pdf
Write a function prototype using the C programming language which retu.pdfWrite a function prototype using the C programming language which retu.pdf
Write a function prototype using the C programming language which retu.pdf
AARADHYACREATIONBAGR
 
Write a function definition using the C programming language which mee.pdf
Write a function definition using the C programming language which mee.pdfWrite a function definition using the C programming language which mee.pdf
Write a function definition using the C programming language which mee.pdf
AARADHYACREATIONBAGR
 
Write a COMPLETE program that performs the following- - Reads in 2 cha.pdf
Write a COMPLETE program that performs the following- - Reads in 2 cha.pdfWrite a COMPLETE program that performs the following- - Reads in 2 cha.pdf
Write a COMPLETE program that performs the following- - Reads in 2 cha.pdf
AARADHYACREATIONBAGR
 
Write a code to implement a doubly linked list in Python- Test your pr.pdf
Write a code to implement a doubly linked list in Python- Test your pr.pdfWrite a code to implement a doubly linked list in Python- Test your pr.pdf
Write a code to implement a doubly linked list in Python- Test your pr.pdf
AARADHYACREATIONBAGR
 
Write a C++ program to create a singly linked list and perform the fol.pdf
Write a C++ program to create a singly linked list and perform the fol.pdfWrite a C++ program to create a singly linked list and perform the fol.pdf
Write a C++ program to create a singly linked list and perform the fol.pdf
AARADHYACREATIONBAGR
 
Write a C++ program that will create the time card file for the payrol.pdf
Write a C++ program that will create the time card file for the payrol.pdfWrite a C++ program that will create the time card file for the payrol.pdf
Write a C++ program that will create the time card file for the payrol.pdf
AARADHYACREATIONBAGR
 
Write a C program to calculate the sum of fraction- i-1mMiNi Each frac (1).pdf
Write a C program to calculate the sum of fraction- i-1mMiNi Each frac (1).pdfWrite a C program to calculate the sum of fraction- i-1mMiNi Each frac (1).pdf
Write a C program to calculate the sum of fraction- i-1mMiNi Each frac (1).pdf
AARADHYACREATIONBAGR
 
write a C program to calculate the number of working days and age for.pdf
write a C program  to calculate the number of working days and age for.pdfwrite a C program  to calculate the number of working days and age for.pdf
write a C program to calculate the number of working days and age for.pdf
AARADHYACREATIONBAGR
 
Write a C function which has two formal parameters of type -int- and r.pdf
Write a C function which has two formal parameters of type -int- and r.pdfWrite a C function which has two formal parameters of type -int- and r.pdf
Write a C function which has two formal parameters of type -int- and r.pdf
AARADHYACREATIONBAGR
 
write a 500 word essay on this case study Briony is a 22 -year-old wo.pdf
write a 500 word essay on this case study  Briony is a 22 -year-old wo.pdfwrite a 500 word essay on this case study  Briony is a 22 -year-old wo.pdf
write a 500 word essay on this case study Briony is a 22 -year-old wo.pdf
AARADHYACREATIONBAGR
 

More from AARADHYACREATIONBAGR (20)

Write a PiCtufe dause that will be used to outputa value stored in the.pdf
Write a PiCtufe dause that will be used to outputa value stored in the.pdfWrite a PiCtufe dause that will be used to outputa value stored in the.pdf
Write a PiCtufe dause that will be used to outputa value stored in the.pdf
 
Write a non-member method named listInverter() that receives as parame.pdf
Write a non-member method named listInverter() that receives as parame.pdfWrite a non-member method named listInverter() that receives as parame.pdf
Write a non-member method named listInverter() that receives as parame.pdf
 
Write a one page paper on the development of HCAHPS measures and how t.pdf
Write a one page paper on the development of HCAHPS measures and how t.pdfWrite a one page paper on the development of HCAHPS measures and how t.pdf
Write a one page paper on the development of HCAHPS measures and how t.pdf
 
Write a method to print the values at a given interval in a chain of S.pdf
Write a method to print the values at a given interval in a chain of S.pdfWrite a method to print the values at a given interval in a chain of S.pdf
Write a method to print the values at a given interval in a chain of S.pdf
 
Write a loop that will prompt the user to enter characters and display (1).pdf
Write a loop that will prompt the user to enter characters and display (1).pdfWrite a loop that will prompt the user to enter characters and display (1).pdf
Write a loop that will prompt the user to enter characters and display (1).pdf
 
Write a JS code snippet that models and tests the following JS Objects.pdf
Write a JS code snippet that models and tests the following JS Objects.pdfWrite a JS code snippet that models and tests the following JS Objects.pdf
Write a JS code snippet that models and tests the following JS Objects.pdf
 
Write a literature review childhood obesity in Louisiana- Charts can b.pdf
Write a literature review childhood obesity in Louisiana- Charts can b.pdfWrite a literature review childhood obesity in Louisiana- Charts can b.pdf
Write a literature review childhood obesity in Louisiana- Charts can b.pdf
 
write a java program that asks the user to choose from 4 shapes (trian.pdf
write a java program that asks the user to choose from 4 shapes (trian.pdfwrite a java program that asks the user to choose from 4 shapes (trian.pdf
write a java program that asks the user to choose from 4 shapes (trian.pdf
 
Write a GUI program as shown below- The program has a BorderPane that.pdf
Write a GUI program as shown below- The program has a BorderPane that.pdfWrite a GUI program as shown below- The program has a BorderPane that.pdf
Write a GUI program as shown below- The program has a BorderPane that.pdf
 
Write a function to find and display the first shortest string in a li.pdf
Write a function to find and display the first shortest string in a li.pdfWrite a function to find and display the first shortest string in a li.pdf
Write a function to find and display the first shortest string in a li.pdf
 
Write a function prototype using the C programming language which retu.pdf
Write a function prototype using the C programming language which retu.pdfWrite a function prototype using the C programming language which retu.pdf
Write a function prototype using the C programming language which retu.pdf
 
Write a function definition using the C programming language which mee.pdf
Write a function definition using the C programming language which mee.pdfWrite a function definition using the C programming language which mee.pdf
Write a function definition using the C programming language which mee.pdf
 
Write a COMPLETE program that performs the following- - Reads in 2 cha.pdf
Write a COMPLETE program that performs the following- - Reads in 2 cha.pdfWrite a COMPLETE program that performs the following- - Reads in 2 cha.pdf
Write a COMPLETE program that performs the following- - Reads in 2 cha.pdf
 
Write a code to implement a doubly linked list in Python- Test your pr.pdf
Write a code to implement a doubly linked list in Python- Test your pr.pdfWrite a code to implement a doubly linked list in Python- Test your pr.pdf
Write a code to implement a doubly linked list in Python- Test your pr.pdf
 
Write a C++ program to create a singly linked list and perform the fol.pdf
Write a C++ program to create a singly linked list and perform the fol.pdfWrite a C++ program to create a singly linked list and perform the fol.pdf
Write a C++ program to create a singly linked list and perform the fol.pdf
 
Write a C++ program that will create the time card file for the payrol.pdf
Write a C++ program that will create the time card file for the payrol.pdfWrite a C++ program that will create the time card file for the payrol.pdf
Write a C++ program that will create the time card file for the payrol.pdf
 
Write a C program to calculate the sum of fraction- i-1mMiNi Each frac (1).pdf
Write a C program to calculate the sum of fraction- i-1mMiNi Each frac (1).pdfWrite a C program to calculate the sum of fraction- i-1mMiNi Each frac (1).pdf
Write a C program to calculate the sum of fraction- i-1mMiNi Each frac (1).pdf
 
write a C program to calculate the number of working days and age for.pdf
write a C program  to calculate the number of working days and age for.pdfwrite a C program  to calculate the number of working days and age for.pdf
write a C program to calculate the number of working days and age for.pdf
 
Write a C function which has two formal parameters of type -int- and r.pdf
Write a C function which has two formal parameters of type -int- and r.pdfWrite a C function which has two formal parameters of type -int- and r.pdf
Write a C function which has two formal parameters of type -int- and r.pdf
 
write a 500 word essay on this case study Briony is a 22 -year-old wo.pdf
write a 500 word essay on this case study  Briony is a 22 -year-old wo.pdfwrite a 500 word essay on this case study  Briony is a 22 -year-old wo.pdf
write a 500 word essay on this case study Briony is a 22 -year-old wo.pdf
 

Recently uploaded

MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 

Recently uploaded (20)

MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 

Write a java program to 1- Create a 2D array of integers 2- Initialize.pdf

  • 1. Write a java program to 1. Create a 2D array of integers 2. Initialize the array by getting input from the user 3. Get the contents of 2D array and add the even numbers to single dimensional array called Eve and the odd numbers to single dimensional array called OD 4. Print the contents of 2D array and even and odd arrays