If the user enters the number 4 in response to the “How many rows?" prompt, the program should display the following pattern of numbers: 1 nobibnoo sr bns gool t2o20g elo boo adi s aum oibnos egool erT.9ono nsi om baso014 sd litw ybod gool srit nirhb 12 123 1234 bese al qool odiseworioie bozong ybod co
Q: row space асе
A: Given :- In the above question , a matrix is mention in the above given question Need to choose…
Q: If the str variable contains the string "berry", which pseudocode statement changes itscontents to…
A: This mcq is related to programming logic.
Q: What will the following code display in the lblSum control?Dim intSum As IntegerDim intY As…
A: The label, “lblSum” will display a value “12”. Hence the correct answer is option (c).
Q: Please answer the question below 13. Choose correct option A button’s _______ event is used to…
A: Question 13. A button’s _______ event is used to run code. OnClick onclick Click click
Q: YES / NO struct Node1 { uint16_t byte; }; YES / NO struct Node2 { int age; char name[64]; }; YES /…
A: 1. struct Node1{ unit16_t byte; }; Answer: this is the wrong structure declaration of…
Q: How many bytes does creating this template reserve in memory? Struct phone{ char brand[51];…
A: Structures in C/C++: A structure allows the user to define a type that contains one or more fields…
Q: A company accepts user orders for its products interactively. Users might make the following errors…
A: public class OrderMessages{ //array of error messages public static String[] errorMessages=…
Q: 2. Create an Orders application as shown in the figure below. Orders Number ordered: Add Subtract…
A: Answer:-
Q: For the code below can you varify the card number, card exp date, card cvv and address for example…
A: The program is written in HTML, Javascript and CSS. The validation changes are highlighted in the…
Q: . The O’Neill High School Performing Arts Center auditorium contains 20 rows (numbered 1 through 20)…
A: Sentinel Value: In computer programming, a sentinel value is considered as the loop terminating…
Q: Prompt the user to enter a value for gallons, which must be one of these values, 10, 15, 20, no…
A: In this question, we are asked to write a python program which converts gallon to quarts and pints 1…
Q: Fix this code please #include #include #include #include Using namespace std; //Structure…
A: C++ Code: #include <iostream>#include <iomanip>#include <fstream>#include…
Q: application which will calculate the grade point average (GPA) for a series of percentage scores…
A: Algorithm : Step 1 : declaring and initializing the variables. Step 2 : create object of scanner…
Q: LD Page view AN Read aloud O Add text V Draw E Highlig the library will be printed. Step 1: Input…
A: import java.util.Scanner; public class Main{ public static void bubblesort(String[] arr, int n)…
Q: Visual Basic, Rewrite the code shown below correctly: strNumberOfRows =…
A: Given: Rewrite the code shown below correctly:strNumberOfRows =…
Q: Create an application that allows you to enter n customer names and phone numbers.
A: Solution: Customer.java class Customer{ private String name; private long phoneNo;…
Q: 6/49 Lottery Draw Application (Basic Project) I. Create an application that simulates a 6/49 Lottery…
A: Winning = [10,20,40,45,46,49] while(True): print("Welcome to Lotto Draw!") print("1 [Draw]")…
Q: Activity 1: Number Series Directions: Below are numbers written in different number system…
A: “Since you have posted a question with multiple sub-parts, we will solve first three subparts for…
Q: Enhanced Test Scores application var total = 0; var entry; var scores = []; var show =…
A: <!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8">…
Q: Which of the following will correctly add the number 100 to each variable in the sales array? The x…
A: ans ) it is the correct option. while(x<=4) { sales[x]+=100; //it will add 100 to each…
Q: Please write in C#. Create an application that allows the user to input two decimal numbers. The…
A: Below is the code:
Q: What will the following code segment display? enum Season (Spring, Summer, Fall, Winter) favorite…
A: In this question we have given a piece of code and we need to choose the correct option which will…
Q: Choose correct option A button’s...................event is used to…
A: Choose correct option Question. A button’s...................event is used to run code. OnClick…
Q: Addition Tutor Create an application that generates two random integers, each in the range of 100…
A: C# sharp is the programming languages. It is the general purpose of the multi paradigm of the…
Q: Question 2 The following code segment will print “Congratulation! Correct answer". [Keratan aturcara…
A: Given:
Q: The following definition has errors. Locate as many as you can. A) void showValues(int nums) {for…
A: A) void showValues(int nums) {for (int count = 0; count < 8; count++) cout << nums[count];}…
Q: The intSales array is declared as follows: Dim intSales() As Integer = {10000, 12000, 900, 500,…
A: A “Do...While” loop used for traversing an array should always have a statement to increment the…
Q: Create a subroutine called WherePutMe that asks the user for a row number and column letter then…
A: According to the question, we must write a subroutine code to enter esteem into a cell. In sync 2,…
Q: A(n) comment hides multiple lines of code. O yariable O element O line O block
A: To block comment/*/code: In the C/C++ editorial manager, select different line(s) of code to remark…
Q: The strTotal variable contains the string “***75.67”. Write a statement that uses the TrimStart…
A: “TrimStart ()” method: The “TrimStart ()” method is used to remove characters from only the…
Q: te this form please. Random
A: I have written the HTML Code below:
Q: A concert hall has three seating categories: Orchestra, Main floor, and Balcony.Orchestra seats are…
A: IPO Chart Input Processing Output Tickets sold for Orchestra class 25 * Tickets sold for…
Q: Converting Fahrenheit to Celsius Please create a JavaScript application, named as…
A: <!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8">…
Q: The strTotal variable contains the string “***75.67”. Write a statement that uses the Replace method…
A: Replace method: It is used when we want to replace any expression or value against the given value.…
Q: The intSales array is declared as follows: Dim intSales() As Integer = {10000, 12000, 900, 500,…
A: If clause Conditional sentences are also known as conditional clauses or if clauses. They are used…
Q: What happens when the user clicks on submit button in the form? a. NOT all fields of the form will…
A: When the form is submitted all the fields will get automatically stored. But where they are stored…
Q: Create a Multiplication Table application as shown in the figure below. Be sure that the text box…
A: Please refer below for your reference: 'this is the display button name. Private Sub…
Q: What value is printed by the following code snippet? name = "John R. Johnson" 11 firstName = "John"…
A: The variable name stores the string value as "John R. Johnson". The variable firstName stores the…
Q: 2. (Phone key pads) The international standard letter/number mapping found on the telephone is shown…
A: import java.io.*;class Test{ public static void main(String[] args)throws Exception{…
Q: computer graphics topic A particular text index value is chosen with the function Choices:…
A: Given, Choices: setTextIndex() settextindex(ti) SetTextIndex(ti) setTextIndex(ti) We have to…
Q: Llä: 5 * Choose Yes or No No Yes Combo Box combines a 'text box' with a 'list box'. Allows a user to…
A: In the above problem, we have to tell which statement is correct and which is not.This question is…
Q: To get all the variables named x1 through x15 (out of 30 variables that start with x) from data, you…
A: Question:6 Correct option is C Explanation: filter(data starts with("x"))-> It will filter the…
Q: Which of the following displays the number of elements contained in theintItems array?a.…
A: Length property: The length property is used in jQuery to get or set the length (i.e the number of…
Q: Create an application that lets the user enter the following pieces of data: • The user’s first name…
A: Open visual studio. Click on file and select project. Enter project name and then click on OK.…
Q: Enhanced Test Scores application var total = 0; var entry; var scores = []; var show =…
A: HTML stands for Hyper Text Markup Language HTML is the standard markup language for creating Web…
Q: Question-3) Develop a Form application that reverses a number entered by the user (For example, the…
A: here have to code program to reverse number.
Q: What values will the following code display? int[] ages = { 12, 15, 26, 31, 18, 20 }; var teens =…
A: From the given code, We have to select the items from array ages in which value of item should be…
Q: What value is displayed as a result of executing the code segment? 3 В 4 C 12
A: Given :
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
- Please make Flowchart orAlgorithmor a Pseudocode ofthis code main(){system("color 3");int choice;cout<<"***********************************************************************\n\n\n";cout<<" WELCOME TO EXAM TEST LOGIN \n\n";cout<<"******************* MENU *******************************\n\n";cout<<"1.LOGIN"<<endl;cout<<"2.REGISTER"<<endl;cout<<"3.START EXAM"<<endl;cout<<"4.Exit"<<endl;cout<<"\nEnter your choice :";cin>>choice;cout<<endl;switch(choice){case 1:{ Beep(523,500); // SOUND }login();break;case 2:{ Beep(523,500); // SOUND }registr();break;case 3:{ Beep(523,500); // SOUND }exam();break;case 4:{ Beep(523,500); // SOUND } cout<<"Thanks for using this program\nThis program is created by Sami, Shahbaz, Hanan, Ahsan, Hamza \n\n";break;default:system("cls");cout<<"You've made a mistake , give it a try again\n"<<endl;main();}} void exam(){int…What value will EAX contain after the following instructions execute?.datadVal DWORD 12345678h.codemov ax,3mov WORD PTR dVal+2,axmov eax,dValIN HLA CODE PLEASE PROGRAM Three Zero GameWrite a HLA program that reads a number. Then by subtracting off a three and tens, determine if that value ends in a zero or a three. Three such numbers in a row wins the game! Shown below are sample program dialogues to help you build your program. Gimme a number: 20It ends in zero!Keep going...Gimme a number: 53It ends in three!Keep going...Gimme a number: 41Sorry Charlie! You lose the game!Gimme a number: 50It ends in zero!Keep going...Gimme a number: 23It ends in three!Keep going...Gimme a number: 70It ends in zero!You Win The Game! Gimme a number: 51
- I having troubles running this C linux program. please use my code to fix any errors that need to be removed or added.If it needs sin() cos() tan() - Please adddisplayTriTab • Receive an integer called degrees that represents the number of degree for incrementation and return nothing. • Display the heading “--- TRIGONOMETRIC TABLE ---” center over the table •A blank line • Display the column headings as sown on the output. • A blank line. • Produce a table based from 0 to 360 degrees in increments based on the users input. • The table columns will be as follows: 1. Degrees ( Format: Right justified, no decimal places) 2. The radian value for the number of degrees in column 1 3. The sine value for the degrees in column 4. The cosine value for the degrees in column 5. The tangent value for the degrees in column 6. Tangent values for 90 and 270 will be infinity • The 360 degrees row will always be the last row even if the increment value entered would not [Bold] the code I do not…Java Code o Timeline brightness_2 notifications  list DetailsCode 3. Negative Allergy by CodeChum Admin Whole numbers are great, but I think we should also pay attention to decimal numbers, too. So, how about we make a program that involves a lot of decimals? Instructions: Continuously ask for floating point values (decimal numbers) using the do…while() loop, sum them all up, and store the total into one variable. The loop shall only terminate for the following reasons: A negative decimal number is inputted (but still included in the total sum) The total sum reaches 100.0 or more Instructions Continuously ask for floating point values (decimal numbers) using the do…while() loop, sum them all up, and store the total into one variable. The loop shall only terminate for the following reasons: A negative decimal number is inputted (but still included in the total sum) The total sum reaches 100.0 or more Input Multiple lines containing float number on each. 1.1 1.2…14) Enter the following two instructions in MARS, and assemble them. What differences do younotice? Are the results the same? Will one run faster than the other? Explain what youobserve.addiu $t0, $zero, 60000ori $t0, $zero, 6000015) Write a program to retrieve two numbers from a user, and swap those number using only theXOR operation. You should not use a temporary variable to store the numbers whileswapping them. Your program should include a proper and useful prompt for input, andprint the results in a meaningful manner
- write in assembly language Divide by two numbers In this assignment, you are required to make an application using assembly code that takes two numbers from the user and returns the result of dividing the first number by the second number. Important notes: 1- You should allow the user to Enter to digits number "For the first number only" 2- You should allow two-digit results if necessary. Stretch goal "optional": Handle the remain of the division process and print it on the screen. Submission: Provide two files (.asm and screenshot). Use your university ID for files naming. Submission statusTaking a Restaurant Order: Sentinel Style. Using the restaurant menu you selected in assigment below , you will create a program that will take an order from a customer and calculate the total. Your program shall, Display the menu with the prices. Take an order using the Sentinel approach in section 5.2.5 (atatched) The user will input numbers between 1 and 10, according to the menu you created below. Use zero as sentinel value (see Listing 5.5, p. 141) Inform the user about invalid input values (greater than 10 or less than 0) Add the prices of the dishes ordered After taking the order, the program displays the subtotal, the sales tax (8.75%), the grand total, and a suggested 15% tip. You can use the program you created below and modify to incorporate the new requirements. Notice that you will still need the multi-way conditional to add the right price value to the running total of the order. import sys #Enter number for each dish and price for users DishNumber=…Write a sub ( sub rnd_Nums) which appends a random number (between 1 and 4 inclusive) of cells with a random value (between 1 and 20 inclusive) to the end of the list of numbers in column A. when the workbook is opened: Select worksheet B Call the sub rnd_Nums Please solve in Excel VBA!!
- in python 3 Create a program that does the following: Use the createMenu function to make 3 menus: Main Menu should contain choices for Savings, Checking, Quit Savings Menu should contain choices for Display Interest Earned, Display Savings Balance, Back to Main Checking Menu should contain choices forDeposit, Withdrawal, Display Checking Balance, Back to Main Call the getValidChoice function to obtain the user’s selection Continue until the user selects the option to Quit Act upon the user’s choice as shown: From the main menu: if the choice is 1 (Savings), display the Savings menu and call the getValidChoice function with the savingsMenuString and a title if the choice is 2 (Checking), display the Checking menu and call the getValidChoice function with the checkingMenuString and a title if the choice is 3 (Quit), end the program. From the Savings menu, depending on the users choice: choice 1 (Display Interest Earned) call a showInterestEarned function that adds interest to…Create an application that plays the Hi-Lo guessing game with numbers. The programme should select a random number between 1 and 100 (inclusive) and then urge the user to estimate the number many times. Report to the user if he or she is accurate or whether the estimate is high or low. Continue offering guesses until the user successfully guesses or decides to leave. To establish if the user wishes to exit, utilise a sentinel value. Count the amount of guesses and report the value when the user successfully guesses. At the end of each game (through leaving or a right guess), ask the user if they want to play again. Continue to play games till the user decides to quit.QUESTION AND COLLEGE COMPILER OUTPUT ATTACHED IN IMAGE . PLEASE SEE AND MY SOLUTION TO THE PROBLEM IS GIVEN BELOW. ------------MY SOLUTION---------- MAIN.CPP #include <iostream> #include "HPVISACard.cpp"#include <sstream> using namespace std; int main() {// Declare variablesstring type;double amount;int rewardPercentage,choice;// print menucout<<"Menu"<<"\n1.VISA Card"<<"\n2.HPVISA Card"<<endl; // ask user to enter his choicecout<<"Enter the choice"<<endl;cin>>choice;// conditionally execute based on user choiceswitch(choice){// case 1case 1:{// ask user to enter transaction typecout<<"Enter the transaction type"<<endl;cin>>type; // ask user to enter transaction amountcout<<"Enter the transaction amount"<<endl;cin>>amount; // ask user to enter reward pointscout<<"Enter the reward points"<<endl;cin>>rewardPercentage;// create VISACard class object using parameterized…