Q5: Choose the correct answer 1) In Visual Basic, a variable name must start with A. Letter or Number B. Any symbols C. Letter only D. All Options 2) The variables that does not change the value during execution of program is - A. Numeric B. string C. Constant D. None of all 3) The datatype that you can use to declare the User Name variable in your application, is A. Char B. Double C. Integer D. String 4) The is a tool used for both Input and output purposes. A. Label B. InputBox C. MsgBox D. ТextBox
Q: Q2: - Write a program in visual basic that exchanges the values of two string type variables. Use…
A: As per our policy, we are answering the first question. Please post the remaining questions…
Q: Best Computers Store is a store that specializes in selling desktop computers and computer monitors.…
A: Here is the Flowchart:-
Q: VISUAL STUDIO 2019 C# Generate a console application that allows you to enter values and calculate…
A: There are many cases given in question so better to continue with switch case here. Also user may…
Q: LAB ASSIGNMENTS, CONT. • sandwich.py – follow the instructions below. You may adjust the food items…
A: The python code for the Sandwich maker problem: import pyinputplus as pyip bread_type =…
Q: **using C# and Visual Studio design a program to satisfy the below problem** Create an application…
A: using System; class GuessGame { static int getRandom(){ Random random = new Random(); return…
Q: 3.The following program contains several errors: #include int main { cout> " appears on your…
A: 1)There is no library named as stream It must be iostream 2)You must write line that using…
Q: A(n) ________ is a statement that causes Visual Basic to create a variable in memory.
A: GIVEN: A(n) ________ is a statement that causes Visual Basic to create a variable in memory.…
Q: 2. A mobile phone app allows a user to press a button that starts a timer that counts seconds. When…
A: Explanation: - User enters the elapsedTime, The minutes is calculated by dividing by 60 and storing…
Q: Create a pseudocode application that invites the user to enter his or her age and then reports…
A: The question is to write python code for the given problem.
Q: Fix any errors that you find. Use in-line comments to explain how and why you fixed the bugs. Test…
A: // iostream in C++ is the standard library which implement stream based input/output capabilities…
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: Create a flowchart and pseudocode that will assign stored value of A to both B and C where A = 35, B…
A: A = 35 B = 100 C = 25 B = A C = A
Q: Q1: b- write a visual basic program that uses a procedure to find how many numbers between N numbers…
A: We need to first read a number (N) and then we need to use the procedure to compute the remainder of…
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: Write an application that asks a user to enter an integer. Display a statement that indicates…
A: Java program that prompts the user to enter an integer value. Then check if the user entered number…
Q: (Guess the Number Game) Write a program that plays “guess the number” as follows: Your program…
A: A TextBox should be used to input the Number to TextBox1 input the guess. to TextBox2…
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: Visual Basic. Write an expression that evaluates to true if the value of the integer variable…
A: In visual basic we use the Mod operator to check the remainder of a division.
Q: TOPICS: Data and Expressions MUST BE IN JAVA. PLEASE USE COMMENTS AND WRITE THE CODE IN SIMPLEST…
A: logic:- read numerator and denominator While dividing numerator and denominator type cast any one…
Q: 3. Roman Numerals . Write a program that displays the Roman numeral version of a decimal number…
A:
Q: what will be displayed when you run the code ? a=0;while a<10; value = %2.2f',a) a=a+3;…
A: The while loop evaluates an expression, and repeats the execution of a group of statements in a loop…
Q: Q1:- Write a program in visual basic that calculate the average value of thee integer numbers. Use…
A: Write a program in visual basic that calculate the average value of three integer numbers :- Imports…
Q: Body Mass Index (BMI) is one of the criteria that is used to calculate whether one is fit or not…
A: Given Body Mass Index (BMI) is one of the criteria that is used to calculate whether one is fit or…
Q: Example: the screen appears as follows: Enter 3 characters (A-Z)? ΑΗΜED No. of characters are= 5
A: #include <iostream> using namespace std;int main(){ // to store character, string str;…
Q: Declare a constant named YEAR, and initialize YEAR with the value 2050. Edit the statement myNewAge…
A: We will solve this problem in Java language.
Q: Topical Information Use C++. This lab will give you practice using the String class we developed in…
A: PROGRAM: #include <iostream> #include <fstream> #include <vector> using namespace…
Q: Design In Visual Basic a form and write a code to find the largest value of N numbers using Do While…
A: Visual Basic windows form application to find the largest of N values using a while loop. Design the…
Q: Financial application: calculate tips) Write a program that reads the subtotal and the gratuity…
A: logic:- read subtotal, gratuityRate gratuity=(subtotal*gratuityRate)/100 total=subtotal+gratuity…
Q: The monthly payment for a given loan pays the principal and the interest. The monthly interest is…
A: I have created a GUI based code where you enter loan amount annual interest rate term of the loan…
Q: Q1 Answer the following: L It is possible in visual basic 6.0 to detect the errors while the…
A: The Answer is in given below steps
Q: Siven this value: "11'. what is its data type? Hide answer choices a float
A: Programming language provides different data types that can store different types of data. It also…
Q: You can use the addition operator (+) in several ways in JavaScript. However, you CANNOT use the…
A: We can use the addition operator (+) in several ways in JavaScript such as :- 1. Number + Number =…
Q: 1. Explain any 2 controls with its Properties a. Label b. TextBox 2. Write a function…
A: 1. a. The Label control represents a standard Windows label. It is used to display informative text…
Q: Create a Raptor flowchart and name the file Software Discountslname where Iname is YOUR last name.…
A: According to the information given:- We have to create a flowchart in RAPTOR on the basic of…
Q: .Choose the correct answer to fill the blanks in the following Questions * In visual basic the…
A: Note: Since we only answer up to 3 sub-parts, we’ll answer the first 3. Please resubmit the…
Q: Q1 Answer the following: 1- It is possible in visual basic 6.0 to detect the errors while the…
A: (1) In visual basic , there are three categories of errors : Syntax error , Run time error and logic…
Q: Write pseudo code and design flowchart that performs the following: 1. Ask a user to enter a number.…
A: START INPUT number IF number >= 0 and number < 10 PRINT "blue" ELSE IF number >= 10 and…
Q: woulb you please help me work on this program C# visual Studio. Given the following: Listbox…
A: Here below write the code:…
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: 1-Write a program that will ask the user to enter an integer number and display the (even and…
A: here in this question we have asked to write a program which take an input integer and based on this…
Q: the quotient after q is divided by divisor and assign the result to q. Write this statement in two…
A: Method 1: Simple assignment operator q = q % divisor; Method 2: Modulus AND assignment operator q %=…
Q: One of the following is not reserved keyword-11 a- do b-name O c- break O d- long O
A: Not reserved keyword
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: Create a Console application. Use Visual studio or Visual studio code (your choice) Implement the…
A: using System; class SALES{ static public void Main () { //variable declaration float…
Q: What is programming? "Print hello world" 20 times is while loop.
A: Question What is the programming ? "print hello word" 20 times is while loop.
Q: The monthly payment for a given loan pays the principal and the interest. The monthly interest is…
A: Given:- The monthly payment for a given loan pays the principal and the interest. The monthly…
Q: Write a Visual Studio 2019 Windows Forms Application that accepts a phrase from the user and counts…
A: I will provide you two codes for this question. Please don't copy it as it needs some modifications…
Q: A(n) is a Visual Basic statement that creates a memory variable.
A: A Visual Basic statement that creates a memory-based variable:
Q: C++ Code Please Help Im Confused (1) Prompt the user to enter a string of their choosing. Store the…
A: Since there are multiple questions and as per our guidelines, we are authorized to answer one…
Step by step
Solved in 3 steps
- program Credit Card Validator - Takes in a credit card number from a common credit card vendor (Visa, MasterCard, American Express, Discover) and validates it to make sure that it is a valid number (look into how credit cards use a checksum). - this is the c++. please use #include <iostream>Topical Information Use C++. This lab will give you practice using the String class we developed in lecture (as well as some more help with randomness and files). Program Information Allow the user the choice of displaying either a random line or a random word from a file they specify. Your menu should allow them to choose these options either from the number of the option or from the capitalized letter. For example, 1) display random Word 2) display random Line 3) Quit Should allow the user to select a random line display by either entering the number 2 or by entering a letter L (lower or upper case!).C Programming. Could you make sure the output looks like figure2, 3, and 4. Please attach a picture of the code. Thanks!
- C++ Code Please Help Im Confused (1) Prompt the user to enter a string of their choosing. Store the text in a string. Output the string. Ex: Enter a sample text: We'll continue our quest in space. There will be more shuttle flights and more shuttle crews and, yes, more volunteers, more civilians, more teachers in space. Nothing ends here; our hopes and our journeys continue! You entered: We'll continue our quest in space. There will be more shuttle flights and more shuttle crews and, yes, more volunteers, more civilians, more teachers in space. Nothing ends here; our hopes and our journeys continue! (2) Implement a PrintMenu() function, which has a string as a parameter, outputs a menu of user options for analyzing/editing the string, and returns the user's entered menu option. Each option is represented by a single character. If an invalid character is entered, continue to prompt for a valid choice. Hint: Implement Quit before implementing other options. Call PrintMenu() in the main()…Create a flowchart and pseudocode that will assign stored value of A to both B and C where A = 35, B = 100 and C = 25. a. Pseudocode b. FlowchartC++ Programming: Please view the following code statement. What is the final value of the variable "number"? int number = 5; number = 10; number = 100;
- Look at the following pseudoocode and insert the missing statement: Start // Declare variables Declare String lastName, firstName, fullName // Input last and first names Display "Enter your last name: " Input lastName Display "Enter your first name: " Input firstName // Concatenate names with space in between ____ // Display full name Display "Your full name is " + fullName Stop JAVA PROGRAMMINGSwift: Basic arithmetic(Operator) playground lab 1. Create an integer constant. Using the remainder operator, set its value to the remainder of 12 divided by 5. 2. Create two integer constants, `even` and `odd` and set them to any even integer and any odd integer, respectively. For each, print the remainder of dividing the value by 2. Looking at the result, how do you think you could use the reminder operator to determine if an integer is even or oddPlease draw the correct flowchart for this game ? # Function to display question and answer def new_game(): guesses = [] Right_guesses = 0 question_num = 1 num = 1 for key in questions: print("\n------------------------- \n") print("Question " + str(num) + "\n" ) num += 1 print(key) for i in options[question_num-1]: print(i) guess = input("\nAnswer (A, B, C, or D): ") guess = guess.upper() guesses.append(guess) Right_guesses += check_answer(questions.get(key), guess) question_num += 1 display_score(Right_guesses, guesses) # ------------------------- # Function to check answer def check_answer(answer, guess): if answer == guess: print("\nYour Answer Correct!") return 1 else: print("\nYour Answer Wrong!") return 0 # ------------------------- # Function to display score def display_score(Right_guesses, guesses):…
- // MovieGuide.cpp - This program allows each theater patron to enter a value from 0 to 4 // indicating the number of stars that the patron awards to the Guide's featured movie of the // week. The program executes continuously until the theater manager enters a negative number to // quit. At the end of the program, the average star rating for the movie is displayed. #include <iostream> #include <string> using namespace std; int main() { // Declare and initialize variables. double numStars; // star rating. double averageStars; // average star rating. double totalStars = 0; // total of star ratings. int numPatrons = 0; // keep track of number of patrons // This is the work done in the housekeeping() function // Get input. cout << "Enter rating for featured movie: "; cin >> numStars; // This is the work done in the detailLoop() function // Write while loop here //…C++ Please Create a simple program that asks user to enter their name and displays the name with an asterisk between the name. Not before or after the name. For example: L*i*n*d*aPython question please include all steps and screenshot of code. Also please provide a docstring, and comments through the code, and test the given examples below. Thanks. Write function season() that takes as input the number of a month (1-12) and returnsthe season corresponding to the month, as a string. You may assume that numbers 1 to 3correspond to Winter, 4 to 6 correspond to Spring, 7 to 9 correspond to Summer, and 10to 12 correspond to Fall. If anything other than the integers 1 through 12 are entered theprogram should print the message ‘This is not a valid entrée’. Use a dictionary andexception handling.>>> season(3)'Winter'>>> season(11)'Fall'>>> season(0)This is not a valid entrée