! This code use Do-Until Loop to sum the series: 1+2+3+...+n 1-........ S=0 n= Val(Text1.Text) 2-........ s=s+a a = a +1 3- 4- * 5 points 1-a = 1 2-Do Until a > n 3- Loop 4- Text2.Text = Str(s) 1-a = 1 2-Do Until a > =n 3- Loop 4- Text2.Text = Str(s) 1-a = 1 2-Do Until a < n 3- Loop 4- Text2.Text = Str(s) 1-a = 0 2-Do Until a > n 3- Loop 4- Text2.Text = Str(s) 1-a 1 2-Do Until a = n 3- Loop 4- Text2.Text = Str(s) O ۱۰:۲۲ This code find the summation * 5 points.
! This code use Do-Until Loop to sum the series: 1+2+3+...+n 1-........ S=0 n= Val(Text1.Text) 2-........ s=s+a a = a +1 3- 4- * 5 points 1-a = 1 2-Do Until a > n 3- Loop 4- Text2.Text = Str(s) 1-a = 1 2-Do Until a > =n 3- Loop 4- Text2.Text = Str(s) 1-a = 1 2-Do Until a < n 3- Loop 4- Text2.Text = Str(s) 1-a = 0 2-Do Until a > n 3- Loop 4- Text2.Text = Str(s) 1-a 1 2-Do Until a = n 3- Loop 4- Text2.Text = Str(s) O ۱۰:۲۲ This code find the summation * 5 points.
Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter5: Looping
Section: Chapter Questions
Problem 9RQ
Related questions
Question
![!
This code use Do-Until Loop
to sum the series:
1+2+3+...+n
1-........
S=0
n=
Val(Text1.Text)
2-........
S=s+a
a = a +1
3-
4-
* 5 points
1-a = 1 2-Do Until a > n 3- Loop 4-
Text2.Text = Str(s)
1-a = 1 2-Do Until a > =n 3- Loop 4-
Text2.Text = Str(s)
1-a = 1 2-Do Until a < n 3- Loop 4-
Text2.Text = Str(s)
1-a = 0 2-Do Until a > n 3- Loop 4-
Text2.Text = Str(s)
1-a 1 2-Do Until a = n 3- Loop 4-
Text2.Text = Str(s)
This code find the summation * 5 points
۱۰:۲۲](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Ff5b1a3e2-5e8a-4740-a5d8-0a2985a740bd%2F49a5cbb9-5766-48d0-b78e-5dca83cd7871%2Fm36wvya_processed.jpeg&w=3840&q=75)
Transcribed Image Text:!
This code use Do-Until Loop
to sum the series:
1+2+3+...+n
1-........
S=0
n=
Val(Text1.Text)
2-........
S=s+a
a = a +1
3-
4-
* 5 points
1-a = 1 2-Do Until a > n 3- Loop 4-
Text2.Text = Str(s)
1-a = 1 2-Do Until a > =n 3- Loop 4-
Text2.Text = Str(s)
1-a = 1 2-Do Until a < n 3- Loop 4-
Text2.Text = Str(s)
1-a = 0 2-Do Until a > n 3- Loop 4-
Text2.Text = Str(s)
1-a 1 2-Do Until a = n 3- Loop 4-
Text2.Text = Str(s)
This code find the summation * 5 points
۱۰:۲۲
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,