SlideShare a Scribd company logo
1 of 2
Download to read offline
ANS:
import java.io.*;
import java.util.*;
public class Pseu_code
{
cus[] listOfcuss = new cus[1000000]; //size of the array
int fre_lo=0;
public void add_go(cus tem_jo) //adds to the array
{
listOfcuss[fre_lo] = tem_jo; //adds to the array
fre_lo++; //gives to add the new cus
}
public void write_tho()
{
try
{
FileWriter fw = new FileWriter("cuss.txt"); //the file to write to
BufferedWriter bw = new BufferedWriter(fw);
for(int i=0;i
Solution
ANS:
import java.io.*;
import java.util.*;
public class Pseu_code
{
cus[] listOfcuss = new cus[1000000]; //size of the array
int fre_lo=0;
public void add_go(cus tem_jo) //adds to the array
{
listOfcuss[fre_lo] = tem_jo; //adds to the array
fre_lo++; //gives to add the new cus
}
public void write_tho()
{
try
{
FileWriter fw = new FileWriter("cuss.txt"); //the file to write to
BufferedWriter bw = new BufferedWriter(fw);
for(int i=0;i

More Related Content

More from galagirishp

alcohols also do not give tollens test.... only a.pdf
                     alcohols also do not give tollens test.... only a.pdf                     alcohols also do not give tollens test.... only a.pdf
alcohols also do not give tollens test.... only a.pdfgalagirishp
 
Acid Buffer - Weak acid + plus its salt Basic B.pdf
                     Acid Buffer - Weak acid + plus its salt Basic B.pdf                     Acid Buffer - Weak acid + plus its salt Basic B.pdf
Acid Buffer - Weak acid + plus its salt Basic B.pdfgalagirishp
 
Total vapor pressure of mixture = P(benzene) + P(.pdf
                     Total vapor pressure of mixture = P(benzene) + P(.pdf                     Total vapor pressure of mixture = P(benzene) + P(.pdf
Total vapor pressure of mixture = P(benzene) + P(.pdfgalagirishp
 
some data is missin .pdf
                     some data is missin                              .pdf                     some data is missin                              .pdf
some data is missin .pdfgalagirishp
 
reaction is missing .pdf
                     reaction is missing                              .pdf                     reaction is missing                              .pdf
reaction is missing .pdfgalagirishp
 
Not necessarily. It could very well mean that you.pdf
                     Not necessarily. It could very well mean that you.pdf                     Not necessarily. It could very well mean that you.pdf
Not necessarily. It could very well mean that you.pdfgalagirishp
 
For Li, B, and F they only formed single bond bet.pdf
                     For Li, B, and F they only formed single bond bet.pdf                     For Li, B, and F they only formed single bond bet.pdf
For Li, B, and F they only formed single bond bet.pdfgalagirishp
 
Enzyme Induction- the synthesis of enzymes in res.pdf
                     Enzyme Induction- the synthesis of enzymes in res.pdf                     Enzyme Induction- the synthesis of enzymes in res.pdf
Enzyme Induction- the synthesis of enzymes in res.pdfgalagirishp
 
Buffer Capacity is the ranges of volume of acid o.pdf
                     Buffer Capacity is the ranges of volume of acid o.pdf                     Buffer Capacity is the ranges of volume of acid o.pdf
Buffer Capacity is the ranges of volume of acid o.pdfgalagirishp
 
a. CH4 has no free valence electrons so it can no.pdf
                     a. CH4 has no free valence electrons so it can no.pdf                     a. CH4 has no free valence electrons so it can no.pdf
a. CH4 has no free valence electrons so it can no.pdfgalagirishp
 
We are living in a world where cyber security is a top priority for .pdf
We are living in a world where cyber security is a top priority for .pdfWe are living in a world where cyber security is a top priority for .pdf
We are living in a world where cyber security is a top priority for .pdfgalagirishp
 
highest bond energy molecule is CO because its bond order is = 3.pdf
highest bond energy molecule is CO because its bond order is = 3.pdfhighest bond energy molecule is CO because its bond order is = 3.pdf
highest bond energy molecule is CO because its bond order is = 3.pdfgalagirishp
 
Urine is concentrated byc) facilitated diffusion in the collecting d.pdf
Urine is concentrated byc) facilitated diffusion in the collecting d.pdfUrine is concentrated byc) facilitated diffusion in the collecting d.pdf
Urine is concentrated byc) facilitated diffusion in the collecting d.pdfgalagirishp
 
The two fund theorem is the establishment of two efficient Funds.pdf
The two fund theorem is the establishment of two efficient Funds.pdfThe two fund theorem is the establishment of two efficient Funds.pdf
The two fund theorem is the establishment of two efficient Funds.pdfgalagirishp
 
the nuclide is147N which is nitrogenSolutionthe nuclide .pdf
the nuclide is147N which is nitrogenSolutionthe nuclide .pdfthe nuclide is147N which is nitrogenSolutionthe nuclide .pdf
the nuclide is147N which is nitrogenSolutionthe nuclide .pdfgalagirishp
 
The Programmer has created multiple entry point which can be used to.pdf
The Programmer has created multiple entry point which can be used to.pdfThe Programmer has created multiple entry point which can be used to.pdf
The Programmer has created multiple entry point which can be used to.pdfgalagirishp
 
The halide is iodine as it gives pale yellow precipitate with AgNO3 .pdf
The halide is iodine as it gives pale yellow precipitate with AgNO3 .pdfThe halide is iodine as it gives pale yellow precipitate with AgNO3 .pdf
The halide is iodine as it gives pale yellow precipitate with AgNO3 .pdfgalagirishp
 
The answer isd. The pi electrons are distributed over the entire .pdf
The answer isd. The pi electrons are distributed over the entire .pdfThe answer isd. The pi electrons are distributed over the entire .pdf
The answer isd. The pi electrons are distributed over the entire .pdfgalagirishp
 
Modified Code Game.java­import java.util.;public class Game.pdf
Modified Code Game.java­import java.util.;public class Game.pdfModified Code Game.java­import java.util.;public class Game.pdf
Modified Code Game.java­import java.util.;public class Game.pdfgalagirishp
 
(a)Solution(a).pdf
(a)Solution(a).pdf(a)Solution(a).pdf
(a)Solution(a).pdfgalagirishp
 

More from galagirishp (20)

alcohols also do not give tollens test.... only a.pdf
                     alcohols also do not give tollens test.... only a.pdf                     alcohols also do not give tollens test.... only a.pdf
alcohols also do not give tollens test.... only a.pdf
 
Acid Buffer - Weak acid + plus its salt Basic B.pdf
                     Acid Buffer - Weak acid + plus its salt Basic B.pdf                     Acid Buffer - Weak acid + plus its salt Basic B.pdf
Acid Buffer - Weak acid + plus its salt Basic B.pdf
 
Total vapor pressure of mixture = P(benzene) + P(.pdf
                     Total vapor pressure of mixture = P(benzene) + P(.pdf                     Total vapor pressure of mixture = P(benzene) + P(.pdf
Total vapor pressure of mixture = P(benzene) + P(.pdf
 
some data is missin .pdf
                     some data is missin                              .pdf                     some data is missin                              .pdf
some data is missin .pdf
 
reaction is missing .pdf
                     reaction is missing                              .pdf                     reaction is missing                              .pdf
reaction is missing .pdf
 
Not necessarily. It could very well mean that you.pdf
                     Not necessarily. It could very well mean that you.pdf                     Not necessarily. It could very well mean that you.pdf
Not necessarily. It could very well mean that you.pdf
 
For Li, B, and F they only formed single bond bet.pdf
                     For Li, B, and F they only formed single bond bet.pdf                     For Li, B, and F they only formed single bond bet.pdf
For Li, B, and F they only formed single bond bet.pdf
 
Enzyme Induction- the synthesis of enzymes in res.pdf
                     Enzyme Induction- the synthesis of enzymes in res.pdf                     Enzyme Induction- the synthesis of enzymes in res.pdf
Enzyme Induction- the synthesis of enzymes in res.pdf
 
Buffer Capacity is the ranges of volume of acid o.pdf
                     Buffer Capacity is the ranges of volume of acid o.pdf                     Buffer Capacity is the ranges of volume of acid o.pdf
Buffer Capacity is the ranges of volume of acid o.pdf
 
a. CH4 has no free valence electrons so it can no.pdf
                     a. CH4 has no free valence electrons so it can no.pdf                     a. CH4 has no free valence electrons so it can no.pdf
a. CH4 has no free valence electrons so it can no.pdf
 
We are living in a world where cyber security is a top priority for .pdf
We are living in a world where cyber security is a top priority for .pdfWe are living in a world where cyber security is a top priority for .pdf
We are living in a world where cyber security is a top priority for .pdf
 
highest bond energy molecule is CO because its bond order is = 3.pdf
highest bond energy molecule is CO because its bond order is = 3.pdfhighest bond energy molecule is CO because its bond order is = 3.pdf
highest bond energy molecule is CO because its bond order is = 3.pdf
 
Urine is concentrated byc) facilitated diffusion in the collecting d.pdf
Urine is concentrated byc) facilitated diffusion in the collecting d.pdfUrine is concentrated byc) facilitated diffusion in the collecting d.pdf
Urine is concentrated byc) facilitated diffusion in the collecting d.pdf
 
The two fund theorem is the establishment of two efficient Funds.pdf
The two fund theorem is the establishment of two efficient Funds.pdfThe two fund theorem is the establishment of two efficient Funds.pdf
The two fund theorem is the establishment of two efficient Funds.pdf
 
the nuclide is147N which is nitrogenSolutionthe nuclide .pdf
the nuclide is147N which is nitrogenSolutionthe nuclide .pdfthe nuclide is147N which is nitrogenSolutionthe nuclide .pdf
the nuclide is147N which is nitrogenSolutionthe nuclide .pdf
 
The Programmer has created multiple entry point which can be used to.pdf
The Programmer has created multiple entry point which can be used to.pdfThe Programmer has created multiple entry point which can be used to.pdf
The Programmer has created multiple entry point which can be used to.pdf
 
The halide is iodine as it gives pale yellow precipitate with AgNO3 .pdf
The halide is iodine as it gives pale yellow precipitate with AgNO3 .pdfThe halide is iodine as it gives pale yellow precipitate with AgNO3 .pdf
The halide is iodine as it gives pale yellow precipitate with AgNO3 .pdf
 
The answer isd. The pi electrons are distributed over the entire .pdf
The answer isd. The pi electrons are distributed over the entire .pdfThe answer isd. The pi electrons are distributed over the entire .pdf
The answer isd. The pi electrons are distributed over the entire .pdf
 
Modified Code Game.java­import java.util.;public class Game.pdf
Modified Code Game.java­import java.util.;public class Game.pdfModified Code Game.java­import java.util.;public class Game.pdf
Modified Code Game.java­import java.util.;public class Game.pdf
 
(a)Solution(a).pdf
(a)Solution(a).pdf(a)Solution(a).pdf
(a)Solution(a).pdf
 

Recently uploaded

24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...Nguyen Thanh Tu Collection
 
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
 
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
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....Ritu480198
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppCeline George
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxneillewis46
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxMarlene Maheu
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽中 央社
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文中 央社
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024Borja Sotomayor
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismDabee Kamal
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesPooky Knightsmith
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code ExamplesPeter Brusilovsky
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMELOISARIVERA8
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...EduSkills OECD
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 
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
 

Recently uploaded (20)

24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
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
 
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
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio App
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
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"
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
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
 

ANSimport java.io.; import java.util.; public class Pseu_.pdf

  • 1. ANS: import java.io.*; import java.util.*; public class Pseu_code { cus[] listOfcuss = new cus[1000000]; //size of the array int fre_lo=0; public void add_go(cus tem_jo) //adds to the array { listOfcuss[fre_lo] = tem_jo; //adds to the array fre_lo++; //gives to add the new cus } public void write_tho() { try { FileWriter fw = new FileWriter("cuss.txt"); //the file to write to BufferedWriter bw = new BufferedWriter(fw); for(int i=0;i Solution ANS: import java.io.*; import java.util.*; public class Pseu_code { cus[] listOfcuss = new cus[1000000]; //size of the array int fre_lo=0; public void add_go(cus tem_jo) //adds to the array
  • 2. { listOfcuss[fre_lo] = tem_jo; //adds to the array fre_lo++; //gives to add the new cus } public void write_tho() { try { FileWriter fw = new FileWriter("cuss.txt"); //the file to write to BufferedWriter bw = new BufferedWriter(fw); for(int i=0;i