QUESTIONS 1. If the first input is higher than the second input but lower than the third input, what will be the output results? Write on the space provided the input values and the results. 2. If the third input is first than the second input but lower than the first input, what will be the output results? Write on the space provided the input values and the results. 3. If the second input is higher than the first input but lower than the third input, what will be the output results? Write on the space provided the input values and the results. 4. If the first input is higher than the second input and equal to the third input, what will be the output results? Write on the space provided the input values and the results. 5. If the first input is lower than the second input and equal to the third input, what will be the output results? Write on the space provided the input values and the results.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

QUESTIONS
1. If the first input is higher than the second input but lower than the third input, what will be the output results? Write on the space provided the input values and the results.

2. If the third input is first than the second input but lower than the first input, what will be the output results? Write on the space provided the input values and the results.

3. If the second input is higher than the first input but lower than the third input, what will be the output results? Write on the space provided the input values and the results.

4. If the first input is higher than the second input and equal to the third input, what will be the output results? Write on the space provided the input values and the results.

5. If the first input is lower than the second input and equal to the third input, what will be the output results? Write on the space provided the input values and the results.

 

EXERCISE No.1
A young boy wants to create a program in block of code that will compute for the quadratic
equation then print the result. The main function composes of the input variables.
The formula is given below:
-B + VB ^2 - 4AC
2A
If the user inputs zero (0), the program will display "Invalid Entry" and return to main menu to input another
valid numbers.
1. Write the corresponding algorithm
a. Narrative
b. Pseudocode
2. Create the equivalent flowchart based on the algorithm of the given problem.
3. Construct the program using Global and Local Variables and record your screen display result.
4. Create the equivalent program using the following structure.
a. Function Header
b. Function Prototype
c. Parameters and return
Transcribed Image Text:EXERCISE No.1 A young boy wants to create a program in block of code that will compute for the quadratic equation then print the result. The main function composes of the input variables. The formula is given below: -B + VB ^2 - 4AC 2A If the user inputs zero (0), the program will display "Invalid Entry" and return to main menu to input another valid numbers. 1. Write the corresponding algorithm a. Narrative b. Pseudocode 2. Create the equivalent flowchart based on the algorithm of the given problem. 3. Construct the program using Global and Local Variables and record your screen display result. 4. Create the equivalent program using the following structure. a. Function Header b. Function Prototype c. Parameters and return
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 8 steps with 5 images

Blurred answer
Knowledge Booster
Decision Making Process
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.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education