Programming Logic & Design Comprehensive
9th Edition
ISBN: 9781337669405
Author: FARRELL
Publisher: Cengage
expand_more
expand_more
format_list_bulleted
Question
error_outline
This textbook solution is under construction.
Students have asked these similar questions
You can generate a random number between 1 and a limiting value named limit by using a statementsimilar to randomNumber = random(limit). Create the logic for a guessing game in which the application generatesa random number between 1 and 100 and the player tries to guess it. Display a message indicating whether theplayer’s guess was correct, too high, or too low. CASE STUDY RESOURCEHint: You must create a flowchart. Your flowchart must be in a Word document using the shapes, lines, andstatements below. You need to create your own statement() names.Response format: Your response must be in a pseudocode format or flowchart structure as shown below.
Draw the flowchart for an application that will request the user to enter the radius of a circle. The radius of a circle is the distance between the centre of the circle and the edge of the circle (indicated by the red line in the diagram below). Calculate and display the area of the circle. The formula for calculating the area of a circle is:
A = 3.14x (rxr)
A = area
r = radius
π = 3.14 (which is called PI)
This question requires that you evaluate the underlined text to determine if it is correct.
You are writing an app for Best For You Organics Company.
The app needs to allow the user to convert a recipe from cups to liters. The app will use the conversion ratio of 1 cup is equal to 0.2366 liters.
You define the pseudocode as follows:
INPUT cups
liters = cups * 0.2366
OUTPUT liters
Review the underlined text. If it makes the statement correct, select “No change is needed.” If the statement is incorrect, select the answer choice that makes the statement correct.
Group of answer choices
Cups / .02366 * 10
Cups / 0.2366
Cups * 2.366
No change is needed.
Knowledge Booster
Similar questions
- pseudocode and flowchart Dialog is a Mobile Phone company that offers the following mobile phone package to its customers. Monthly charges are calculated according to the following criteria The Basic Monthly Bill is CAD 40 Additional 25 CAD is charged from customers who make more than400 minutes calls in the current month, and extra 5 CAD is charged formaking more than 500 sms messages in the current month Design the modular program Pass the parameters to a Module Named MobileCharges_your_idand perform all the calculations inside that Module. Parameters to be passed to the module: number of called minutes inthe current month, number of sent sms in the current month (get thevalues of the parameters from the user). Output the total amount of charges in the current month.arrow_forwardYou can allow the user to choose when (and if) a task is performed by assigning the task to a _______control in the interface. a. button b. label c. picture box d. text boxarrow_forwarda VB program that will ask the user to enter the value of the radius in the textbox txtRadius.Clicking the button btnArea, calls the function Circle, and computes the area of the circle. The areaof the circle must be displayed in the textbox txtArea.Control names: txtRadius, txtArea, btnAreaRequired event-procedure: btnArea_click() and the function circlearrow_forward
- 2. (Temperature Conversion) Write a temperature-conversion application that converts from Fahrenheit to Celsius. The Fahrenheit temperature should be entered from the keyboard (via a JTextField). A JLabel should be used to display the converted temperature. Use the following formula for the conversion: Celsius = × (Fahrenheit – 32)arrow_forward1a. Please create the pseudocode that display circular area (C = 2??) by capturing the value of R(radius) 1b.Please convert the pseudocode in task above into the flowchart. 2a. Please create the pseudocode that read two numbers (num1 and num2). Then, display theindication whether the first number (num1) is bigger or the second number (num2) is bigger. 2b.Please convert the pseudocode in task above into the flowchart.arrow_forwardA(n) __________control displays text that the user is not allowed to edit while an application is running.arrow_forward
- Write pseudo code and design flowchart that performs the following: 1. Ask a user to enter a number. 2. If the number is between 0 and 10, write the word blue. 3. If the number is between 10 and 20, write the word red. 3. if the number is between 20 and 30, write the word green. 4. If it is any other number, write that it is not a correct color option.arrow_forwardVisual C# Blank App (Universal Windows) Create a program that prompts for a numeric value and then calculate the square root of this number. Need to display the result. The user interface must include a TextBox, Button, and two Label controls on the main window. Calculate square roots, do not use Math.Sqrt or any square root method (or any math library) or another Math method of the .NET Framework on this assignment. See the Picture attached to test the application using the dataarrow_forwardA variable should be used to store the results of an application's calculation. What do you think?arrow_forward
- Visual C# Blank App (Universal Windows) Create a program that prompts for a numeric value and then calculate the square root of this number. Need to display the result. The user interface must include a TextBox, Button, and two Label controls on the main window. Calculate square roots, do not use Math.Sqrt or any square root method (or any math library) or another Math method of the .NET Framework on this assignment. See the Picture attached to test the application using the data, make sure if the user enter a negative number a message will show advising to enter a positive numberarrow_forwardin ui path rpa studio after i create a flowchart project how to i open a dialog with the user to accept a STRING value, prompting the user to enter their name , then write it to the output panel in the tool and write the text in a Notepad filearrow_forwardIn visual basic, Visual Studio please answer the question Write the code that will prompt the user to specify the amount of numbers they will type in. Prompt the user that many times and display the average of the numbers.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- EBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENTEBK JAVA PROGRAMMINGComputer ScienceISBN:9781305480537Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENTMicrosoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781305480537
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,