Programming Logic & Design Comprehensive
9th Edition
ISBN: 9781337669405
Author: FARRELL
Publisher: Cengage
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
error_outline
This textbook solution is under construction.
Students have asked these similar questions
A mobile phone app allows a user to press a button that starts a timer that counts seconds.When the user presses the button again, the timer stops. Draw a flowchart, write pseudocode and C++ that accepts the elapsed time in seconds and displays the value in minutes and
remaining seconds. For example, if the elapsed time was 130 seconds, the output would be 2
minutes and 10 seconds.
2. A mobile phone app allows a user to press a button that starts a timer that counts seconds. When the user presses the button again, the timer stops. Draw a flowchart or write a pseudocode that accepts the elapsed time in seconds and display the value in minutes and seconds. For example, if the elapsed time was 150 seconds, the output would be 2 minutes and 30 seconds.
A. Draw a flowchart that will request the user to input Point A, Point B, Speed of Train (km/h) and then display how long it takes for a train to reach its destination.
B. Write a pseudocode that will request the user to input his/her name, then displays his/her name afterwards.
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.Similar questions
- Flowchart that converts temperature (Fahrenheit to Celsius, and vice versa)arrow_forwardWrite 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_forwardIf you are bored then Play games else Do nothing endifMAKE A FLOWCHART FROM THE PESUDOCODE, PREFERABLY USING FLOWGORITHM.arrow_forward
- Write a program that asks the user for a Celsius temperature. Convert Celsius temperatures to Fahrenheit temperatures. The formula is F = (9/5) * Celsius + 32 F is the Fahrenheit temperature and C is the Celsius temperature. Create a display that will show the Celsius temperature and its equivalent Fahrenheit temperature. You should ask the user to enter the value for Celsius. Do not allow the user to enter a value less than -50 or higher than 100. If so, the program should end. Note: the numbers 9, 5, and 32 in the formula are integers and should be assigned to respective variables. There are three screenshots for you to use to verify your output (there should also be a check that you have not entered a number less than -50)arrow_forwardPlease use Visual Studio or Xcode to create a program that asks user giving you the amount of money customer has spent, your program will determine how much percent of discount the customer will receive: If the amount is more than $300, the discount is 30%; If the amount is more than $200 but less than $300, the discount is 20%; If the amount is more than $100 but less than $200, the discount is 10%; If the amount is less than $100, the discount is 5%; Based on the inputted amount value, your program will print out. the discount percent, the discount amount, the invoice total You will be using C++ for this programarrow_forwardPlease use Visual Studio or Xcode to create a program that asks user giving you the amount of money customer has spent, your program will determine how much percent of discount the customer will receive: If the amount is more than $300, the discount is 30%; If the amount is more than $200 but less than $300, the discount is 20%; If the amount is more than $100 but less than $200, the discount is 10%; If the amount is less than $100, the discount is 5%; Based on the inputted amount value, your program will print out the discount amount . using C++arrow_forward
- Write a program that asks the user for an integer Celsius temperature. Convert Celsius temperatures to Fahrenheit temperatures. The formula is F is the Fahrenheit (and should be shown as a number with 2 decimal places) temperature and C is the Celsius temperature. Create a display that will show the Celsius temperature and its equivalent Fahrenheit temperature. You should ask the user to enter the value for Celsius. Note: the numbers 9, 5, and 32 in the formula are integers and should be assigned to respective variables. You MUST use static casting as part of this solution.arrow_forwardIn visual studio please answer For 1-4, Using a For…Next, Do While, or Do Until Loops, create the following loops. 1. Print all integer values from 0 to 10 2. Print all the odd numbers from 1 to 100 3. Print all the even numbers from 2 to 50 4. Print out every other odd number from 1 to a user specifiable upper limit (inclusive)arrow_forwardRead the two sides of a rectangle and calculate its area draw flowchartsarrow_forward
- Create a flowchart that will accept two integers X and Y. If X is greater than Y, it will compute for the difference between X and Y. If X is less than Y, it will compute for the product of X and Y. Otherwise, it will compute for the sum of X and Y. Display the values of X,Y, and the answer.arrow_forwardCreate a flowchart that asks the user to any number (num). These number can either be odd or even. If the number is even, count how many even numbers were inputted and stop until such time that the user inputted 0. For example: Input any positive number – 3 Input any positive number – 6 Input any positive number – 2 Input any positive number – 1 Input any positive number – 8 Input any positive number – 0 The total number of even numbers = 3arrow_forward****Microsoft Visual Studios (C++)**** Write a program that will do the following: Run continuously until the user gives a command to quit Ask the user if they want to calculate the area of a circle, square, or triangle. Based on response will ask the user for the appropriate quantities then display the area to the user.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,
- Programming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:Cengage
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,
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage