'Convert the code into descriptive code, and verify using White Box Testing x =10 input if ( x < y) for( i =X,i < Y, i++) result = i + 10 print (result) end-for else Print( loop is not possible end-if'
Added by Edward W.
Step 1
Step 1:** Identify the input values: x = 10, y (not given) ** Show more…
Show all steps
Your feedback will help us improve your experience
Chandra Jain and 98 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Rewrite the following program segment using a while loop instead of a for loop. for (i = 0; i<100; i++) { if (i % 2 == 0) { print(i) } }
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD