Q3: Write a VB program to enter 8 values for a student's grades representing 8 subjects and find his average ? visual basic
Q: What will happen if you use JOptionPane.showMessageDialog statement in your program? Select one: O…
A: Answer: Answer-1: The correct option is (e): The program will display a message dialog box…
Q: Q2 Write a code program to enter the value of (Q, U, S, R and N). Calculate and Display the value of…
A: Algorithm: Start Read Q,U,S,R,N values in textboxes Calculate AR=(Q * U) / (Math.Sqrt(S) *…
Q: What does it calculate in terms of a, b, and c
A: Understanding the program In the above recursive function named CalcQ2, the base case is defined for…
Q: program2_2.py Write a program that prompts the user to enter a time in seconds over 500 and then…
A: As per the given question, we need a program for conversion of time in seconds to time in minutes…
Q: Write a program in Visual Basic that you enter the time of a phone call in seconds. If the duration…
A: Code Private Sub CommandButton1_Click()Dim sec As IntegerDim amount, balance As Doublesec =…
Q: B- Write a program to enter the name of a student and two marks of any using input box then computes…
A: B. import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner…
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: Determine the error in the following program.Private Sub btnOutput_Click(...) Handles…
A: Given data;- Determine the error in the following program.Private Sub btnOutput_Click(...) Handles…
Q: (Area and perimeter of a circle) Write a program that displays the area and perimeterof a circle…
A: Program code: //Class definition Circle public class Circle { //Main function public static void…
Q: In the below table, if a sale man attain a sale volume of $6000, he will be paid $6000x15% -$900.00.…
A: Let's see the solution in the next steps
Q: 1. is the standard control for accepting input from the user as well as to display the output. It…
A: Find the answers with reasons given as below:
Q: What would this code display? nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"] if…
A: The problem is based on lists and conditional statements in python programming language.
Q: Which of the following is NOT a possible value displayed by the program? A "artichoke" "broccoli"…
A: Answer: C
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 asks the user for an angle, entered in degrees. The program should then display…
A: According to the asked question, the solution is given below with a proper explanation.
Q: O Problem program.py > haircolor=str(input("What color is your hair? ")) eyeColor = str(input("What…
A: 1) Your code is almost correct. Below are some recommended changes so it can produce matching output…
Q: Q7: - Use (If-Then Goto) Statement to write a program in visual basic to find the smallest value of…
A: Form Design:
Q: A- What is the difference between checkbox and option button? B- Write a Program to compute the area…
A: Checkbox button : The Checkbox is used to display small squares boxes that offer the user several…
Q: Use java code to complete. Please zoom in if difficult to re
A:
Q: 5. Write a program which asks the user to enter their password. If they enter the word "PASSWORD"…
A: Visual basic program Program which ask the user to their password If they enter PASSWORD it display…
Q: The Konditorei coffee shop sells coffee at $10.50 a pound plus the costof shipping. Each order ships…
A: We need to find cost of the coffee order, given $10.50 a pound + the cost of shipping and the…
Q: An Internet service provider has three different subscription packages for its customers: Package A:…
A: The solution for the above-given question is given below:
Q: The names of solution files in Visual Basic 2012 end with _______ a. .prg b. .sln c. .sol d. .vb
A: Solution file in Visual Basic The solution explorer window in a Visual Studio IDE lists all the…
Q: 4. Statement: String str = "Hello world!", str = str.substring (1, 4), the value of str after…
A: As given, I need to find the correct answer for the above given question - String str ="Hello…
Q: the statement R/5 is same as ...... O floor(R/5) O rem (R,5) OR/5 O no one above
A: #include <iostream>#include <cmath>using namespace std; int main(){ int R = 28;…
Q: Write one line of code ONLY. Use concatenation to print the variables given below in one line with a…
A: python code: A="Artificial"I="Intelligence"print(A +" " + I)
Q: Q1) Write the pseudocode for the following. a. Ask a user to enter a number. If the number is…
A: Pseudocode for problem Q1 ) a. Initialize variable x←0 x ←Take user input if ( 0 <= x and x…
Q: Assume that letter and selection Variables are already declared and initialized. Convert the…
A: Given data is shown below:
Q: Assume that a variable age has been given an integer value. Assume further that the user has just…
A: CODE IN PYTHON: #taking age as input from the userage = input("Enter your age:")age…
Q: A variable name in the programming language Visual Basic must begin with a letter (uppercase or…
A: Answer:Number of letters (uppercase + lowercase) = 26 + 26 = 52Number of digits (0 to 9) = 10Number…
Q: Q7:- Use (If-Then Goto) Statement to write a program in visual basic to find the smallest value of…
A: Above program can be coded by using the logic of conditional statements where a certain block of…
Q: An online sales company sells a ceratin item for $49.99. Quantity discounts are given according to…
A: As there is no programming language is mentioned in the question, So I will solve this question…
Q: Which of the following is the “not equal to” comparison operator in Visual Basic? a. ≠ b. ><…
A: The <> operator is the “not equal to” comparison operator in Visual Basic. Therefore, the…
Q: 15 - final question Assuming you have implemented a mini calculator. U MiniCalculator Result Number…
A: Since we need to check for missing input in textboxes, we need check both the textboxes. No single…
Q: Q2 A local club sells boxes of three types of cookies: shortbread, pecan sandies, and chocolate…
A: #include <iostream> #include<iomanip> using namespace std; int main() { int…
Q: JAVA and Netbeans Using any of the discussed looping statements, create a code that will output the…
A: Program plan: For using the star patterns, the for loop is used to print the symbols This loop is…
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: 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: variable name can start with.? a. Either alphabet or underscore() Ob. Only Underscore (- ) sign OC.…
A: A variable is a symbolic name for (or reference to) information. The variable's name represents what…
Q: In college, a student may get a grade of 1.0 (as the highest) to 5.0 (lowest). Anyone who get's a…
A: use while(true) loop to check if input grade is valid or not. pass the MG and TFG to…
Q: Q6: - Use Use (If-Then) Statement to write a program in visual basic to find the largest value of…
A: If condition Then [Statement(s)] End If
Q: Question 18 Guessing Game Code a solution for the following problem. Post your program in the…
A: Given: Given a coding question ,we need to write the C++ code for it .
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: Create a grade calculator that computes for the semestral grade of a course. Students could type…
A: Python Code: # Enter the name, course, Prelim, mid term and finalName = input("Enter Student Name:…
Q: oln college, a student may get a grade of 1.0 (as the highest) to 5.0 (lowest). Anyone who get's a…
A: - The question is to highlight the final grade using the formula using the provided formula and then…
Q: a runner runs 14 kılometers in 45 minutes and 30 sec- onds. Write a program that displays the…
A: => Here in the program ask for a calculating average speed in miles per hour.
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: 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
Step by step
Solved in 3 steps with 2 images
- Consider the Visual Basic code below. What does it calculate in terms of a, b, and c? In Visual Studio languagePrivate Function CalcQ2(a As Integer, b As Integer, c As Integer) as IntegerIf a <= 1 Thenreturn 5 'Assume that CalcQ2 always starts with a > 1ElseReturn (c * b) + CalcQ2(a-1, b, c)End IfEnd Function****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.Which of the following is the “not equal to” comparison operator in Visual Basic? a. ≠ b. >< c. Not = d. <>
- In visual basic programming, write a button click even that will take a given amount in cedis and exchange rate and calculate the equivalence in US dollars when the user chooses "Yes", returns the cedi valuewhen the user chooses "No" and Zero when the user chooses "Cancel".A. The regular expression/\b\$\d+/gwill match words beginning with a dollar sign and one or more digits, such as"$5"or"$500". Select one: True False B. Given that you can calculate the circumference of a circle by multiplying its diameter times pi, in JavaScript you can use the statement circumference = d * Math.PI;to calculate the circumference of a circle with the diameterd. Select one: True False(c program only) 2. Jack `N Poyby CodeChum Admin Jack `N Poy is a very common game since our childhood days. Just thinking about it makes me reminisce how I crushed my cousin in this game until he cried ? I want to feel the glory again of being very good at something. Could you help me recreate the game? It's really simple. In Jack `N Poy, there are two players who both select either one of the following options: RockPaperScissors The winner is selected depending on the following rules: Rock beats ScissorsScissors beats PaperPaper beats RockIf both players chose the same option, then it's a tie Instructions: In the code editor, you are provided with an enum called option which contains three possible named values:ROCK - 'r'PAPER - 'p'SCISSORS - 's'Your task is to ask two users for there chosen options. And then based on their options, determine the winner.Input 1. Option selected by Player 1 2. Option selected by Player 2 Output If Player 1 wins, print the message "Player 1…
- Visual Basic. Write an expression that evaluates to true if the value of the integer variable numberOfPrizes is divisible (with no remainder) by the integer variable numberOfParticipants. (Assume that numberOfParticipants is not zero.)Q: Write a program which reads two integer values. If the first is less than the second, print the message up. If the second is less than the first, print the message down If the numbers are equal, print the message equal. (Visual Basic)Write a simple console application to accept the item name and item price. The program should calculate the Value Added Tax(VAT) and print a slip with price, VAT and total price. Assume that the VAT percentage is 15% as in South Africa
- program3_3.pyWrite a wholly creative quiz program that consists of three original questions that you make up according to the specifications below. Provide positive or negative feedback to the user immediately after each question is answered. The quiz doesn't have to be scored. One question should require user input of type int One question should require user input of type float One should require a string inputThe names of solution files in Visual Basic 2012 end with _______ a. .prg b. .sln c. .sol d. .vbPlease take screenshots of the stops. (Science: calculating energy) Write a program that calculates the energy needed to heat water from an initial temperature to a final temperature. Your program should prompt the user to enter the amount of water in kilograms and the initial and final temperatures of the water. The formula to compute the energy is Q = M * (finalTemperature – initialTemperature) * 4184 where M is the weight of water in kilograms, temperatures are in degrees Celsius, and energy Q is measured in joules.