Write a program, and store it in a file called

Assignment Help Visual Basic Programming
Reference no: EM13167052

Write a program, and store it in a file called Travel Expenses.xlsm, that does the following: a) It asks for a person's first name and stores it in firstName; b) it asks for a person's last name and stores it in lastName; c) it asks for the number of miles the person traveled on a recent trip and stores it in nMiles; d) it asks for the average miles per gallon the person got on the trip and stores it in milesPer-Gallon; e) it asks for the average price per gallon paid for gas on the trip and stores it in avgPrice; f) it calculates the cost of the trip and stores it in tripCost; and g) it displays a message such as "Bob Jones traveled 800 miles, got 31.3 miles per gallon on average, paid $2.49 per gallon on average, and paid a total of $63.64 for gas." Make sure there is an Option Explicit line at the top of the module and that you declare all of your variables appropriately.

Reference no: EM13167052

Questions Cloud

For the prototype user interface : For the prototype user interface, design a switchboard that leads from main sections to sub-sections of related system tasks. The main sections may include member information, registration, payments
During data and process modeling : During data and process modeling, Susan Park developed a logical model of the proposed system. She drew an entity-relationship diagram and constructed a set of leveled and balaced DFD
Savingsaccount and bankaccount objects : The only differences between SavingsAccount and BankAccount objects is that SavingsAccount have an interest rate and can compute interest when necessary. Add an instance variable and a method to SavingsAccount to allow for these items.
Write a method called sumarray : Write a method called sumArray that takes in as a parameter an array of integers x and returns an integer. Your method should return the sum of all the values stored in x .
Write a program, and store it in a file called : Write a program, and store it in a file called Travel Expenses.xlsm, that does the following: a) It asks for a person's first name and stores it in firstName; b) it asks for a person's last name and stores it in lastName
Module scope and procedure scope : What are the differences between a module scope and procedure scope? How do you declare a procedure-level and module-level variable?
Explain the concept of locality of reference : 1. Explain the concept of locality of reference and state its importance to memory systems.
Which a ball is released from a user-defined height : Write a program in which a ball is released from a user-defined height and free-falls to the ground. The ball is pulled by earth's gravity of 9.8 m/sec 2 . Assume that each pixel represents
Create a text-based, menu-driven program : Create a text-based, menu-driven program that allows the user to choose whether to add, subtract, multiply or divide two numbers. The program should then input two double values from the use

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Airline reservations system

Airline Reservations System - A small airline has just purchased a computer for its new automated reservations system.

  Write visual basic program to accept values of any unit

Write down VISUAL BASIC program to accept numeral values of any unit, sum up the total, compute the average, and then Output result with proper unit.

  Display in message label when statements are executed

What will display in MessageLabel when the following statements are executed? Assume that CountInteger = 10. MessageString = "Visual Basic is fun" IF CountInteger

  Visual basic program to accept numeral values of any unit

Write VISUAL BASIC program to accept numeral values of any unit, sum up the total, compute the average, and then Output result with the proper unit.

  Create a sub procedure that calculates and displays the next

A national Digital service provider would like you to create a Windows application that will display the global growth of smartphones. As of 2013, there 913 million smartphones worldwide.

  Write visual logic program for customer-s bank account

Write a visual logic program to aid balance a customer's bank account. the program must read numeric values that represent banking transactions.

  Permit a user to manipulate database using vb

Use VB to permit a user to manipulate database according to following: Permit the user to scroll through list of students while showing student ID, student name, advisor name, and department.

  Ticketseller

Use Visual basic 2010Visual Basic,  TicketSeller. This assignment will contain two (2) Parts: Event Planning Document and Coding phase. You must submit both parts as separate files for the completion of this assignment. Remember, you are only to de..

  Visual basic programming discussion

The use of decision logic is one of the major concepts of computer programming. The decision takes your code from being sequential to one that can take various options based on the different conditions. Determine the method of coding that you would u..

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms". This assignment will contain two (2) Parts: Written Paper and Visual Basic Prototype. The Visual Basic Prototype is not included in the total page count but is included in the e..

  Data storage & "exception error trapping"

Discussion on Data Storage and  "Exception Error Trapping".

  Module scope and procedure scope

What are the differences between a module scope and procedure scope? How do you declare a procedure-level and module-level variable?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd