Question

Do anyone know the Designer and Blocks for this in App Inventor 2? Create an application...

Do anyone know the Designer and Blocks for this in App Inventor 2?

Create an application that allows the user to enter car's speed in miles per hour. The application should have buttons that display the following:

The distance the car will travel in 5 hours

The distance the car will travel in 8 hours

The distance the car will travel in 12 hours

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Hi,

Please find the answer below:

Steps to follow to create an app in App Inventor are as follows:

Designer tab
You need to create a project
drag and drop the UI elements.

Blocks tab
Attach code blocks for the application to work as shown below.

Attach to emulator or companion app in mobile and test the app.

You can modify with three buttons if you want to hard code the values.

let me know if you need more information on this.
Hope this helps.
Thanks.

Add a comment
Know the answer?
Add Answer to:
Do anyone know the Designer and Blocks for this in App Inventor 2? Create an application...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • create an application in VISUAL BASIC that calculates a cars gas mileage. The formula for calculating...

    create an application in VISUAL BASIC that calculates a cars gas mileage. The formula for calculating the miles that a car can travel per gallon of gas is MPG = Miles/Gallon In the formula MPG is miles-per-gallon, miles is the number of miles that can be driven on a full tank of gas, and gallons is the number of gallons that the tank holds. The applications form should have TextBox controls that let the user enter the number of gallons...

  • A fitness tracking app company has asked you to develop a windows application using a GUI...

    A fitness tracking app company has asked you to develop a windows application using a GUI to determine the total amount of hours somebody has exercised during their lifetime, assuming on average a user has exercises 2.5 hours per week. When the user uses the app, they will enter the following: First Name: Last Name: Date of Birth (in mm/dd/yyyy): Current Date (in mm/dd/yyyy) This program should display the users name and the number of hours the user has exercised...

  • I need trying to figure out how I can make create a code in Python with this exercise for I am having trouble doing so. Miles Per Gallon Calculator Write a GUI program that calculates a car's gas...

    I need trying to figure out how I can make create a code in Python with this exercise for I am having trouble doing so. Miles Per Gallon Calculator Write a GUI program that calculates a car's gas mileage. The program's window should have Entry widgets that let the user enter the number of gallons of gas the car holds, and the number of miles it can be driven on a full tank. When a Calculate MPG button is clicked,...

  • Exercise 11-4 Create a Reminder app In this exercise, you’ll add a service to a Reminder...

    Exercise 11-4 Create a Reminder app In this exercise, you’ll add a service to a Reminder app that displays a notification every hour that says, “Look into the distance. It’s good for your eyes.” Test the app 1. Start Android Studio and open the project named ch11_ex4_Reminder. 2. Review the code. Note that it contains a layout and a class for an activity, but no class for a service. 1. Run the app. Note that it displays a message that...

  • Please help me to try to better understand how to write an algorithm and then write...

    Please help me to try to better understand how to write an algorithm and then write the code in C language. Create a flowchart for the design to perform the following task and then implement a program that computes the distance traveled by a car moving at a constant speed for a specific amount of time. This program must understand different units of measurement for speed, time, and distance. The algorithm will ask the user for the following information: The...

  • Travel Expenses Create a GUI in C# Visual Studios application that calculates and displays the total...

    Travel Expenses Create a GUI in C# Visual Studios application that calculates and displays the total travel expenses of a business person on a trip. Here is the information that the user must provide: • Number of days on the trip • Amount of airfare, if any • Amount of car rental fees, if any • Number of miles driven, if a private vehicle was used • Amount of parking fees, if any • Amount of taxi charges, if any...

  • In Visual Basics - Program 2. Mileage Write a program which allows the user to enter...

    In Visual Basics - Program 2. Mileage Write a program which allows the user to enter the distance they have traveled by car in miles and the number of gallons of gasoline they used to travel the distance. Be sure to allow for decimal places for both values. Your results should show miles per gallon and kilometers per gallon. A kilometer is 0.61 miles, and this value must be stored as a constant. Your outputs must be formatted to 2...

  • The distance a vehicle travels can be  calculated as follows: distance = speed * time. For...

    The distance a vehicle travels can be  calculated as follows: distance = speed * time. For example, if a train travels 40 miles per hour for three hours, the distance traveled is 120 miles. Write a program using python that asks the user for the speed of a vehicle in mph and the number of hours it has traveled. It should then use a while loop to display the distance the vehicle has traveled for each hour of that time...

  • USING PYTHON. please print screen it working (input and output)! Create a program for the following:...

    USING PYTHON. please print screen it working (input and output)! Create a program for the following: Orlando International Airport is creating an app that allows a passenger to check on the availability of flights in 2020. As a first test, a user may check on flights to either Albany or Austin. To get into the app, the user must enter an account number, which must be between 1500 and 9999. The user should then be asked to enter 1 for...

  • import java.util.Scanner; public class MPGMain {    public static void main(String[] args)    {       ...

    import java.util.Scanner; public class MPGMain {    public static void main(String[] args)    {        Scanner input = new Scanner(System.in);               Mileage mileage = new Mileage();               System.out.println("Enter your miles: ");        mileage.setMiles(input.nextDouble());               System.out.println("Enter your gallons: ");        mileage.setGallons(input.nextDouble());               System.out.printf("MPG : %.2f",mileage.getMPG());           } } public class Mileage {    private double miles;    private double gallons;    public double getMiles()...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT