Concept explainers
To write a program which computes the distance between two given points.
Explanation of Solution
Given:
The required program needs to find the distance of two given points.
Calculation:
The following is the required BASICProgram-
10 INPUT “Enter the x-coordinate of first point”:
20 INPUT “Enter the y-coordinate of first point”:
30 INPUT “Enter the x-coordinate of second point”:
40 INPUT “Enter the y-coordinate of second point”:
50LET
60 PRINT “The distance between two given points is”:
70 END.
DRY RUN of the program:-
INPUT:
Enter the x -coordinate of first point
Enter the y -coordinate of first point
Enter the x -coordinate of second point
Enter the y -coordinate of second point
OUTPUT:
The distance between two given points is
Chapter 9 Solutions
Algebra and Trigonometry: Structure and Method, Book 2
Additional Math Textbook Solutions
Linear Algebra with Applications (2-Download)
Graphical Approach To College Algebra
Elementary Algebra: Concepts and Applications (10th Edition)
Algebra and Trigonometry (6th Edition)
College Algebra (10th Edition)
Algebra and Trigonometry
- Algebra and Trigonometry (6th Edition)AlgebraISBN:9780134463216Author:Robert F. BlitzerPublisher:PEARSONContemporary Abstract AlgebraAlgebraISBN:9781305657960Author:Joseph GallianPublisher:Cengage LearningLinear Algebra: A Modern IntroductionAlgebraISBN:9781285463247Author:David PoolePublisher:Cengage Learning
- Algebra And Trigonometry (11th Edition)AlgebraISBN:9780135163078Author:Michael SullivanPublisher:PEARSONIntroduction to Linear Algebra, Fifth EditionAlgebraISBN:9780980232776Author:Gilbert StrangPublisher:Wellesley-Cambridge PressCollege Algebra (Collegiate Math)AlgebraISBN:9780077836344Author:Julie Miller, Donna GerkenPublisher:McGraw-Hill Education