SlideShare a Scribd company logo
Using Microsoft Visual Basics (.NET) ONLY!
(This assignment encompasses Do-Loop concepts from Chapter 5. The next assignment will
cover For-Next loops and Strings from Chapter 5.)
11. Using a Do...Loop While structure, write the code that repeatedly prompts the user using an
InputBox for a number, and continues to prompt the user until a valid positive number is entered.
(8 points)
Solution

More Related Content

More from ezycolours78

An epic bribe scandal at Petrobras, a major oil company controlled b.pdf
An epic bribe scandal at Petrobras, a major oil company controlled b.pdfAn epic bribe scandal at Petrobras, a major oil company controlled b.pdf
An epic bribe scandal at Petrobras, a major oil company controlled b.pdf
ezycolours78
 
6. Edit the following for the format of a reference listREFERENCE.pdf
6. Edit the following for the format of a reference listREFERENCE.pdf6. Edit the following for the format of a reference listREFERENCE.pdf
6. Edit the following for the format of a reference listREFERENCE.pdf
ezycolours78
 
2.Distinguish between assigned and emergent leaders. Give an example.pdf
2.Distinguish between assigned and emergent leaders. Give an example.pdf2.Distinguish between assigned and emergent leaders. Give an example.pdf
2.Distinguish between assigned and emergent leaders. Give an example.pdf
ezycolours78
 
3. What lines of evidence do we have that evolution has taken place.pdf
3. What lines of evidence do we have that evolution has taken place.pdf3. What lines of evidence do we have that evolution has taken place.pdf
3. What lines of evidence do we have that evolution has taken place.pdf
ezycolours78
 
4. Where in your home would endospores most likely be found Wh b. .pdf
4. Where in your home would endospores most likely be found Wh b. .pdf4. Where in your home would endospores most likely be found Wh b. .pdf
4. Where in your home would endospores most likely be found Wh b. .pdf
ezycolours78
 
25. Radium is called a _________ and replaces calcium in bones and c.pdf
25. Radium is called a _________ and replaces calcium in bones and c.pdf25. Radium is called a _________ and replaces calcium in bones and c.pdf
25. Radium is called a _________ and replaces calcium in bones and c.pdf
ezycolours78
 
What skills does law enforcement need to combat cyber crimesSol.pdf
What skills does law enforcement need to combat cyber crimesSol.pdfWhat skills does law enforcement need to combat cyber crimesSol.pdf
What skills does law enforcement need to combat cyber crimesSol.pdf
ezycolours78
 
were CPA involved in Enron scandal act with integrity as defined by .pdf
were CPA involved in Enron scandal act with integrity as defined by .pdfwere CPA involved in Enron scandal act with integrity as defined by .pdf
were CPA involved in Enron scandal act with integrity as defined by .pdf
ezycolours78
 
16) What are the two types of current What is different about the fl.pdf
16) What are the two types of current What is different about the fl.pdf16) What are the two types of current What is different about the fl.pdf
16) What are the two types of current What is different about the fl.pdf
ezycolours78
 
What are some weakness of the NERC standard CPS1 and CPS2.Please lis.pdf
What are some weakness of the NERC standard CPS1 and CPS2.Please lis.pdfWhat are some weakness of the NERC standard CPS1 and CPS2.Please lis.pdf
What are some weakness of the NERC standard CPS1 and CPS2.Please lis.pdf
ezycolours78
 
To complete the task, you need to fill in the missing code. I’ve inc.pdf
To complete the task, you need to fill in the missing code. I’ve inc.pdfTo complete the task, you need to fill in the missing code. I’ve inc.pdf
To complete the task, you need to fill in the missing code. I’ve inc.pdf
ezycolours78
 
The correct sequence of the phases of the cell cycle are A. prophase.pdf
The correct sequence of the phases of the cell cycle are  A. prophase.pdfThe correct sequence of the phases of the cell cycle are  A. prophase.pdf
The correct sequence of the phases of the cell cycle are A. prophase.pdf
ezycolours78
 
Suppose an ant walks counterclockwise on the unit circle from the poi.pdf
Suppose an ant walks counterclockwise on the unit circle from the poi.pdfSuppose an ant walks counterclockwise on the unit circle from the poi.pdf
Suppose an ant walks counterclockwise on the unit circle from the poi.pdf
ezycolours78
 
1. Which of the following statements correctly describes pulsating s.pdf
1. Which of the following statements correctly describes pulsating s.pdf1. Which of the following statements correctly describes pulsating s.pdf
1. Which of the following statements correctly describes pulsating s.pdf
ezycolours78
 
The approach used in the U.S. to measure the economys aggregate per.pdf
The approach used in the U.S. to measure the economys aggregate per.pdfThe approach used in the U.S. to measure the economys aggregate per.pdf
The approach used in the U.S. to measure the economys aggregate per.pdf
ezycolours78
 
Take the Leadership Interestingly, we study much about leadershi.pdf
Take the Leadership Interestingly, we study much about leadershi.pdfTake the Leadership Interestingly, we study much about leadershi.pdf
Take the Leadership Interestingly, we study much about leadershi.pdf
ezycolours78
 
Relating to Emergency Managment, what evenys of the 1970s led to t.pdf
Relating to Emergency Managment, what evenys of the 1970s led to t.pdfRelating to Emergency Managment, what evenys of the 1970s led to t.pdf
Relating to Emergency Managment, what evenys of the 1970s led to t.pdf
ezycolours78
 
Real Analysis proof not a regular calc limit questionSolutiont.pdf
Real Analysis proof not a regular calc limit questionSolutiont.pdfReal Analysis proof not a regular calc limit questionSolutiont.pdf
Real Analysis proof not a regular calc limit questionSolutiont.pdf
ezycolours78
 
5. In the actual lab, you will also introduce liquid B into the stopp.pdf
5. In the actual lab, you will also introduce liquid B into the stopp.pdf5. In the actual lab, you will also introduce liquid B into the stopp.pdf
5. In the actual lab, you will also introduce liquid B into the stopp.pdf
ezycolours78
 
Prove or disprove Every innite set is a subset of a countably innit.pdf
Prove or disprove Every innite set is a subset of a countably innit.pdfProve or disprove Every innite set is a subset of a countably innit.pdf
Prove or disprove Every innite set is a subset of a countably innit.pdf
ezycolours78
 

More from ezycolours78 (20)

An epic bribe scandal at Petrobras, a major oil company controlled b.pdf
An epic bribe scandal at Petrobras, a major oil company controlled b.pdfAn epic bribe scandal at Petrobras, a major oil company controlled b.pdf
An epic bribe scandal at Petrobras, a major oil company controlled b.pdf
 
6. Edit the following for the format of a reference listREFERENCE.pdf
6. Edit the following for the format of a reference listREFERENCE.pdf6. Edit the following for the format of a reference listREFERENCE.pdf
6. Edit the following for the format of a reference listREFERENCE.pdf
 
2.Distinguish between assigned and emergent leaders. Give an example.pdf
2.Distinguish between assigned and emergent leaders. Give an example.pdf2.Distinguish between assigned and emergent leaders. Give an example.pdf
2.Distinguish between assigned and emergent leaders. Give an example.pdf
 
3. What lines of evidence do we have that evolution has taken place.pdf
3. What lines of evidence do we have that evolution has taken place.pdf3. What lines of evidence do we have that evolution has taken place.pdf
3. What lines of evidence do we have that evolution has taken place.pdf
 
4. Where in your home would endospores most likely be found Wh b. .pdf
4. Where in your home would endospores most likely be found Wh b. .pdf4. Where in your home would endospores most likely be found Wh b. .pdf
4. Where in your home would endospores most likely be found Wh b. .pdf
 
25. Radium is called a _________ and replaces calcium in bones and c.pdf
25. Radium is called a _________ and replaces calcium in bones and c.pdf25. Radium is called a _________ and replaces calcium in bones and c.pdf
25. Radium is called a _________ and replaces calcium in bones and c.pdf
 
What skills does law enforcement need to combat cyber crimesSol.pdf
What skills does law enforcement need to combat cyber crimesSol.pdfWhat skills does law enforcement need to combat cyber crimesSol.pdf
What skills does law enforcement need to combat cyber crimesSol.pdf
 
were CPA involved in Enron scandal act with integrity as defined by .pdf
were CPA involved in Enron scandal act with integrity as defined by .pdfwere CPA involved in Enron scandal act with integrity as defined by .pdf
were CPA involved in Enron scandal act with integrity as defined by .pdf
 
16) What are the two types of current What is different about the fl.pdf
16) What are the two types of current What is different about the fl.pdf16) What are the two types of current What is different about the fl.pdf
16) What are the two types of current What is different about the fl.pdf
 
What are some weakness of the NERC standard CPS1 and CPS2.Please lis.pdf
What are some weakness of the NERC standard CPS1 and CPS2.Please lis.pdfWhat are some weakness of the NERC standard CPS1 and CPS2.Please lis.pdf
What are some weakness of the NERC standard CPS1 and CPS2.Please lis.pdf
 
To complete the task, you need to fill in the missing code. I’ve inc.pdf
To complete the task, you need to fill in the missing code. I’ve inc.pdfTo complete the task, you need to fill in the missing code. I’ve inc.pdf
To complete the task, you need to fill in the missing code. I’ve inc.pdf
 
The correct sequence of the phases of the cell cycle are A. prophase.pdf
The correct sequence of the phases of the cell cycle are  A. prophase.pdfThe correct sequence of the phases of the cell cycle are  A. prophase.pdf
The correct sequence of the phases of the cell cycle are A. prophase.pdf
 
Suppose an ant walks counterclockwise on the unit circle from the poi.pdf
Suppose an ant walks counterclockwise on the unit circle from the poi.pdfSuppose an ant walks counterclockwise on the unit circle from the poi.pdf
Suppose an ant walks counterclockwise on the unit circle from the poi.pdf
 
1. Which of the following statements correctly describes pulsating s.pdf
1. Which of the following statements correctly describes pulsating s.pdf1. Which of the following statements correctly describes pulsating s.pdf
1. Which of the following statements correctly describes pulsating s.pdf
 
The approach used in the U.S. to measure the economys aggregate per.pdf
The approach used in the U.S. to measure the economys aggregate per.pdfThe approach used in the U.S. to measure the economys aggregate per.pdf
The approach used in the U.S. to measure the economys aggregate per.pdf
 
Take the Leadership Interestingly, we study much about leadershi.pdf
Take the Leadership Interestingly, we study much about leadershi.pdfTake the Leadership Interestingly, we study much about leadershi.pdf
Take the Leadership Interestingly, we study much about leadershi.pdf
 
Relating to Emergency Managment, what evenys of the 1970s led to t.pdf
Relating to Emergency Managment, what evenys of the 1970s led to t.pdfRelating to Emergency Managment, what evenys of the 1970s led to t.pdf
Relating to Emergency Managment, what evenys of the 1970s led to t.pdf
 
Real Analysis proof not a regular calc limit questionSolutiont.pdf
Real Analysis proof not a regular calc limit questionSolutiont.pdfReal Analysis proof not a regular calc limit questionSolutiont.pdf
Real Analysis proof not a regular calc limit questionSolutiont.pdf
 
5. In the actual lab, you will also introduce liquid B into the stopp.pdf
5. In the actual lab, you will also introduce liquid B into the stopp.pdf5. In the actual lab, you will also introduce liquid B into the stopp.pdf
5. In the actual lab, you will also introduce liquid B into the stopp.pdf
 
Prove or disprove Every innite set is a subset of a countably innit.pdf
Prove or disprove Every innite set is a subset of a countably innit.pdfProve or disprove Every innite set is a subset of a countably innit.pdf
Prove or disprove Every innite set is a subset of a countably innit.pdf
 

Recently uploaded

Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
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
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
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
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
DhatriParmar
 
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
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
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
 
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
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
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
 

Recently uploaded (20)

Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
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
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
 
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 ...
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
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
 
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
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
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
 

Using Microsoft Visual Basics (.NET) ONLY!(This assignment encompa.pdf

  • 1. Using Microsoft Visual Basics (.NET) ONLY! (This assignment encompasses Do-Loop concepts from Chapter 5. The next assignment will cover For-Next loops and Strings from Chapter 5.) 11. Using a Do...Loop While structure, write the code that repeatedly prompts the user using an InputBox for a number, and continues to prompt the user until a valid positive number is entered. (8 points) Solution