Write a program in Visual Basic that you enter the time of a phone call in seconds. If the duration of the call is a minute or less, 80 fils
Q: Find the final value of x that is generated by each of the following Visual Basic program segments.…
A: Answer : X = 10 Imports System Module Number Sub Main() Dim X As Integer=0 For…
Q: Q4. A) write a program in Visual Basic to calculate your Average your score
A: The code is given in the next step:- Note :- you can change code to calculate the average of more…
Q: Using Visual Basic, the following equation Y=e-3x+cos3(x) is written a:
A: Given equation: Y=e-3x+cos3(x) Code: Y=Math.exp(-3*x)+Math.cos(x)^3
Q: Draw a flowchart for this Visual Basic program: 1. Get the first test score. 2. Get the second test…
A: Flowchart: It can be defined as separate steps of a process in sequential order and that can be…
Q: Write a program that will display "IT'S COLD!" if the temperature is less than 20, "IT'S HOI" if the…
A: #include <iostream> using namespace std; int main(){ float t; cout<<"Computing the…
Q: Write a program in Visual Basic Design a form and write a code to find the average value of N…
A: VB.Net is a simple, modern, object-oriented computer programming language developed by Microsoft to…
Q: Write a program that prompts the user to enter a point (x, y) and checks whether the point is within…
A: Step 1:- Program Approach:- 1.import turtle 2.Take the value of x and y from the user 3.Use the…
Q: 1- It is possible in visual basic 6.0 to detect the errors while the programmer entering VB code. A)…
A: The original visual basic is a third generation event -driven programming language.
Q: inch. 2. Ask the user for a temperature. Then ask them what units, Celsius or Fahrenheit, the…
A:
Q: The statement [ Dim a (20) As String] its mean in visual basic .net
A: In step 2, I have provided answer ... In further steps , I have provided a visual basic…
Q: 1) Give two reasons that make the constants are very useful in visual basic. 2) Write two examples…
A: vs basic declaration
Q: Write the Pseudocode for this program:
A: Pseudocode Read test1. Read test2. Read test3. Calculate sum sum = test1 + test2 + test3…
Q: Write a program in visual basic that calculate the average value of thee integer numbers. Use four…
A: Answer:- Here find the complete Visual Basic 6.0 code for the find the average of the three numbers.…
Q: Create a program that will display the geometric sequence of an input number and input common ratio.…
A: Introduction: Geometric Sequence: It is the sequence in which each term is obtained by multiplying…
Q: Write a program in (Visual Basic 6.0) Design a form and write a code to find the average value of N…
A: To execute a program written in high level language must be translated into machine understandable…
Q: Write a program to generate the numbers following by Visual Basic 1 2 3 4 5 6 7 8 9 ) on TextBox, by…
A: Required: Write a program to generate the numbers following by Visual Basic
Q: Q: Design a visual basic program with two textboxes. One is used to enter ny string and the other is…
A: C# : private static string ReverseString(string input) { string output = string.Empty;…
Q: Q5/ Design a program that can be used to input a number by (text Box), let that program print (the…
A: Here is the code in Python:
Q: Designed a program in (Visual Basic 6.0) that calculates the area and perimeter of a rectangle
A: we have to calculate area and perimeter of rectangle in visual basics.
Q: B: Write a program to check the temperature of a person and print the status in textbox. Temperature…
A: Program to check temperature of a person and print result - Screenshots Form Design and Code…
Q: Answer of the following: 1) Give two reasons that make the constants are very useful in visual…
A: As per guidelines we are suppose to answer 1st question Answer :- 1 A constants is a significant…
Q: Q2/ Design a program with Writing a programming code using the Visual Basic language to calculate an…
A: Step 1 : Start Step 2 : In the Main module, Declaring the variables to hold the sales profit of the…
Q: In Visual Basic, regarding loops, how many times will the message display?
A: as per our guidelines, we are supposed to answer only one question. Kindly repost other question as…
Q: Write the following Programs in Visual Basic
A: Here have to determine about visual basic for find factor of numbers.
Q: What is the largest prime factor of the number 600851475143?
A: #include<bits/stdc++.h>#define ll long longusing namespace std; //Function for finding largest…
Q: Write a program that divides a number entered by the user by 2 by language visual basic.
A: In VB.Net Console.ReadLine() is been used to read the input from the console.
Q: Design Visual Basic program that calculate the area of a cylinder where the area of cylinder is A…
A: Program plan: Define a module to calculate the area of the cylinder Define a sub-main Declare the…
Q: A piece of wire is to be bent in the form of a circle to put around a picture frame. Write a…
A: According to the information given:- We have take input of the length of the wire converted into…
Q: program in visual basic that requests five grades as input and then calculates the average after…
A: For this program, we will be performing the following steps: Asking the user for five integers and…
Q: Question 1: By using Select Case statement, write a program in Visual Basic to compute the…
A: We need to write Visual Basic 6 code to perform the mentioned functions.
Q: Q1: Write a Program in visual basic to compute the volume of cylinder with design
A: VB Code: Private Sub Command1_Click()radius = " "height = " "volume = " "End Sub Private Sub…
Q: Design Visual Basic program that calculate the area of a cylinder where the area of cylinder is A…
A: We need to write a VB program to compute area of cylinder.
Q: Write a program that asks the user for an angle, entered in degrees. The program should then display…
A: Input angle Convert to radians Call respective methods and print result
Q: : A: Write a program in visual Basic language to calculate the following arithmetic formula. a 5.6 -…
A: I have provided visual basic code to calculate the given arithmetic formula for value a.
Q: Q3:- Write a visual basic program that reads two integers (feet and inches) representing distance,…
A: Visual Basic is a modern object-oriented computer programming language developed by Microsoft to…
Q: 1- It is possible in visual basic 6.0 to detect the errors while the programmer entering VB code. A)…
A: The Answer is in Below Steps
Q: The visual basic program given bellow is given a value of 15 at textBoxi, corresponc output is : Dim…
A: Q1. Here value of x will be assigned value 15. x & 15 & in visual basic is used for…
Q: Q3:- Write a visual basic program that reads two integers (feet and inches) representing distance,…
A: how to read data from text box in visual basic: In Visual Basic if we write Dim t = Textbox1 then t…
Q: Q4 : Write Program in Visual Basic to Find the Result of the equation W = + y-(z-y I# x=2 y = 3 Z= 5
A: We need to write a Visual Basic program to find the result of the given expression. The given…
Q: It is possible in visual basic 6.0 to detect the errors while the programmer entering VB code. A)…
A: It is possible in visual basic 6.0 to detect the error while the programmer entering VB code. ANS: -…
Q: Write a program which asks the user to enter a number between 1 and 10. If the number entered is out…
A: To perform the above given task: 1st we prompt the user to provide the number in range 1 to 10 Then…
Q: Q3: - Write a visual basic program that reads two integers (feet and inches) representing distance,…
A: Visual Basic (VB) is a third-generation programming environment from Microsoft. The system works by…
Q: write a program in visual Basic that is required to perform mathematical operation (plural,…
A: Required:
Q: Q2) Write program in visual basic to calculate an average of eight mark for student by using…
A: define array of size 8 store marks one by one in array. calculate sum and average. apply if else…
Q: Design Visual Basic program that calculate the area of a cylinder where the area of cylinder A =2* T…
A: Imports System Public Module Module1 Public Sub Main() Dim r As…
Q: Q3: - Write a visual basic program that reads two integers (feet and inches) representing distance,…
A: Introduction: Visual Basic is a modern object-oriented computer programming language developed by…
Q: Answer both questions: A-Write a program to display the name of day by giving the day number as the…
A: read a value convert it into int using Integer.Parse() if x=1 then display “Saturday” else if x=2…
Q: Q1- Design a program in Visual Basic language that calculates the following equation. With a drawing…
A: Algorithm: Start Read x,y,z values Calculate A=(5*x^3-2*z)/(0.3+y^2) Print A Stop
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Step by step
Solved in 3 steps with 3 images
- Write a Visual Basics program that asks the user to enter a 10-character telephone number in the format of XXX-XXX-XXXX. The program should display the number with any alphabetic characters translated into the number equivalent. For example, if the user enters 555-GET-FOOD, the result should be 555-438-3663.Write a program that prompts the user to enter the distance todrive, the fuel efficiency of the car in miles per gallon, and the price per gallonthen displays the cost of the trip.Write a program named FahrenheitToCelsius that accepts a temperature in Fahrenheit from a user and converts it to Celsius by subtracting 32 from the Fahrenheit value and multiplying the result by 5/9. Display both values to one decimal place.
- Write a program named Admission for a colleges admissions office. The user enters a numeric high school grade point average (for example, 3.2) and an admission test score. Display the message Accept if the student meets either of the following requirements: A grade point average of 3.0 or higher, and an admission test score of at least 60 A grade point average of less than 3.0, and an admission test score of at least 80 If the student does not meet either of the qualification criteria, display Reject.Write a program that calculates and displays a person’s body mass index (BMI). A person’s BMI is calculated with the following formula: BMI = weight × 703/height2 where weight is measured in pounds and height is measured in inches. The program should display a welcome message, and ask for the weight (in pounds) and the height (in inches) from the user. The program should display a message indicating whether the person has optimal weight, is underweight, or is overweight. A sedentary person’s weight is considered to be optimal if his or her BMI is between 18.5 and 25 (including 18.5 and 25). If the BMI is less than 18.5, the person is considered to be underweight. If the BMI value is greater than 25, the person is considered to be overweight.CREATE A PROGRAM THAT ASKS THE USER IF HE/SHE IS PWD OR SENIOR CITIZENIF YES, THEN GIVE 20% OFF IF HE IS BOTH PWD AND SENIOR CITIZEN, GIVE 20% ONLY ASK IF HE HAS A MEMBERSHIP CARD. IF YES, GIVE ANOTHER 3% OFF
- Write a program that prompts the user to enter the three dimensions, possibly with decimals, of a cardboard shipping box. The program should then print the volume of the box accurate to two decimal places and the total surface area of the box accurate to three decimal places.Develop a solution for a program that asks the user to enter the scores of 10 exam ranging in value from 0 to 100. Your program should count the number of outstanding scores (90-100), the number of satisfactory scores (60-89), and number of unsatisfactory scores (0-59). At the end, it should also display the counts for each category.Write a program for a Bookstore to take an order from a customer, calculate how much to charge a customer based on his/her order, and display a receipt. The store sells only three books, designated by their authors: Cervantes ($41.25 each), Homer ($15.85 each), and Shakespeare ($30.50 each). Your program is to work as follows: Display a welcome message (e.g., “Welcome to the Bookstore!”) Prompt the user for his/her first name Prompt the user to input the number of books by Cervantes s/he wants Prompt the user to input the number of books by Homer s/he wants Prompt the user to input the number of books by Shakespeare s/he wants Compute the total amount due, including a 10% sales tax Display amount due Ask the user how much money s/he will pay Display a receipt listing the name of the user, the quantity of each item ordered, the total cost of the order, and the amount the user will have left after paying Execution of the compiled program should appear roughly as follows (with red…
- Write an application that reads the (x,y) coordinates fortwo points. Compute the distance between the two pointsusing the following formula: Distance = the square root of the sum ofthe square of the difference of the x coordinates and the square of the difference of the y coordinatesWrite aC++program that allows a user to enter their rating of the three movies in the DarkKnight Trilogy: Batman Begins/ The Dark Knight /The Dark Knight Rises Ratings must be between 1 and 5. If a rating entered is less than 1 or more than 5, display anappropriate message and do not use the rating. After all the ratings have been entered, display each rating entered, the highest rating, the lowest rating, and the average of the ratings.Write a program for an airline company. that asks the user about his luggage weight. * if the luggage weight is higher than 50, it shows a warning message that he will be paying an extra 25$ for his luggage. * At the end, it always thanks the user for his business.