Write a program that takes in an integer in the range 11-100 as input. The output is a countdown starting from the integer, and stopping when both output digits are identical. End with a newline.
Q: "Divide and conquer" is one of the most fundamental ideas that guide software engineering practice, ...
A: Introduction: Compound instructions, algorithms, and data structures come to mind when people genera...
Q: 2) What parameters are passed in this web string and what dynamic language do you think is being use...
A: The type of language is identified using the file extension we have Here, we are trying to load inde...
Q: Which of the following statements are unsatisfiable? Select one or more: a. A- ¬A b. QA -Q O c. Bv ¬...
A:
Q: pass def dialByName(names,numbers): '''Function to handle dial by name command which prompts the use...
A: The Answer is
Q: Respond to the following in a minimum of 175 words: Discuss the purpose of comments and whitespa...
A: Expecting the username & password are already stored in system for verification As the username ...
Q: A disk stores 512 bytes per sectors, 13 sectors per track, 55 tracks per side and has 2 sides. What ...
A: Given a disk is having 2 sides Each side is having 55 tracks Each track is having 13 sectors Each se...
Q: Write a C++ program to use an STL set to store integer values. Demonstrate any THREE (3) set operat...
A: PROGRAM EXPLANATION: Include the header file. Define the main function. Create a set (STL) and add ...
Q: Explanation of how Computer Aided Design (CAD) could be used in your project, as well as its advanta...
A: CAD or the Computer Aided design is one of the very useful and powerful tool which are being used by...
Q: Each cloud provider has a product blueprint related to Big Data. Name and explain just one of the a...
A: what is Cloud Computing technique: The term cloud computing is the delivery of computing services ...
Q: Write a regular expression that represents all 9 letters palindrome.
A: Regular expressions are special strings representing a pattern to be matched in a search operation....
Q: KMP -- What are tables next and fail for the pattern ABCABDABB. Show how the answer is derived.
A: Introduction: Given pattern is ABCABDABB Rules:Prefix: For a string, all substrings from first chara...
Q: use metaphor to describe the nested interval property
A: According to the information given:- We have to describe the nested interval property by using metap...
Q: computer science - How do labor-optimization algorithms and staffing models help to improve efficien...
A: Introduction: Because of the emergence of computer software, labour optimization tactics are now ava...
Q: In the file menu, explain what the Title command does.
A: Introduction: The inquiry seeks to clarify the function of the title command in the file menu.
Q: Explain how the instruction set dealt with data and operations in no fewer than 5 words.
A: Introduction: A processor's instruction set is a collection of all the instructions it can execute. ...
Q: Why are watchdog timers required in such a large number of embedded systems?
A: Introduction: Here we are required to explain why are watchdog timers required in such a large numb...
Q: 1. T/F-if (B)=D006000 (PC)=003600 (X)=000090, for the machine instruction Ox032026, the target addre...
A: As per bartlby guidelines, only 3 sub questions can be answered.
Q: A network of switches connects two hundred workstations and four servers that are connected by a sin...
A: Introduction: Such broadcast storms are now a significant issue: Local Area Network is the correct a...
Q: 149. Write a C# Sharp program to create a new list from a given list of integers removing those valu...
A: PROGRAM INTRODUCTION: Use the required namespaces. Start the definition of the main function. Creat...
Q: king strategy
A: given - How does data visualization enhance decision making strategy
Q: Write a program that prompts the user to input the length of a string as an integer, followed by the...
A: logic:- read length of string from user. i.e read len. create memory size as per value of len using...
Q: Under the principle of transparency, the data subject must be knowledgeable about the following exce...
A: Let us see the answer The correct option is a) i.e. the kind of personal data collected
Q: A palindrome is a word or a phrase that is the same when read both forward and backward. Examples ar...
A: In Computer science programming that can concern as a central place in computer science and engineer...
Q: Python Program in|OrderedDict) is similar to a dictionary object where keys maintain the order of in...
A: In this question we have to discuss about the python dictionary. In which we have Ordered Dictionary...
Q: tly is the issue with NRZ? And, more importa
A: Below the exactly is the issue with NRZ
Q: 372658.2384292.qx3zay7 Jump to level 1 Write code in PutDollars that puts moneyAmount to output. Fun...
A: Algorithm: Start Read userMoney from user Implement a method named PutDollars() that takes userMone...
Q: Considering the following scenario: you are tasked with developing a note keeping program that autom...
A: INTRODUCTION: Users can use note-taking software to jot down ideas or notes in a text format. These...
Q: What is a firewall's principal purpose? What are the general guidelines for using packet filtering?
A: Firewall Principle Purpose: => It protects against unauthorized access. => It's similar t...
Q: Explain why the allocation of records to blocks has a significant impact on database system performa...
A: Introduction: The following is the justification behind record distribution:
Q: Write a program in C++ that defines a class named StringOps. Declare data members of this class as d...
A: A class is a group of objects which have common properties. A constructor is a method that is used ...
Q: Examine the role played by modern wireless communication systems in the deployment of the Smart Grid...
A: answer is
Q: Write pseudocode to solve the following problem. Must use iterative dynamic programming (tabulation)...
A: According to Your Input And Output Code in c++ & pseudocode: Time complexity is O(1) Space Comp...
Q: In what situations do you think two- and three-dimensional arrays would come in handy?
A: The situations two- and three-dimensional arrays would come in handy are,
Q: Most common media player VLC stands for video client.
A: answer is
Q: In ADJ terminology, the problem would have occurred during [ Select ] Implementation because [ Selec...
A: The answer is given below.
Q: The RAM is a component of the CPU. Indicate whether or not you agree with this statement and why you...
A: Introduction : In computer terminology, RAM is referred to as the computer's primary memory. It is a...
Q: If you are part of a software team that is developing a user interface for a smart phone, you must d...
A: Introduction: When a team begins working on a software project, there are five tasks that must be co...
Q: Please do it with regular expression. Don't use loops please. Do fast, I have no time left Write a j...
A: Required:- Please do it with regular expression. Don't use loops, please. Do fast, I have no time l...
Q: Consider the following Statements: A. In C++, when a variable is declared and given a type, there is...
A: Answer the above questions are as follows:
Q: I want abstract for report about design elevator to carry 8 person using solar energy ?
A: Solution: Design elevator using solar energy Abstract: The increasing the quantity and huge holdin...
Q: javascript 1. Print all even numbers from 0 – 10 Try to make the solution to this problem as effici...
A: Your Javascript program is given below with an output.
Q: What are the three conditions that a network must meet in order to be effective and efficient? Brief...
A: What is networking? Networking isn't always simply the change of statistics with others — and it's g...
Q: Draw the equivalent binary tree for this expression: ((5+2) ∗(2−1))/((3+9) / (7*2−1)) ∗8 and ...
A: According to the information given:-We have to draw the binary tree of expression and its pre, in an...
Q: Answer using the following set of data: Address Zip and MajorID are both examples of:
A: We need to answer:
Q: Define opera. When was the first opera performed? Who composed it?
A: Note: This is a multipart-based question. As per company guidelines, only the first three parts are ...
Q: Task 1 In your methodology, create individual flowcharts for each property and discuss the property ...
A:
Q: Consider the role of wireless networks in the growth of today's developing nations. Wireless technol...
A: Introduction: The word "WLAN" refers to a wireless computer network that establishes a local area ne...
Q: Using signavio or any PBM tools. Q: Model the following fragment of a business process for insu...
A: According to the information given:- We have to design a model in Business process management tool o...
Q: What are the risks of putting in an always-on security system?
A: Introduction: Mobile malware is malicious software that has been built specifically for use on mobil...
Q: What is the most efficient encoding method? which one is now being used with a high data rate, and w...
A: Introduction: Encoding is converting a sequence of characters (letters, numbers, punctuation, and so...
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- Write a program that accepts a number corresponding to a plane figure: Right Triangle Rectangle Circle The program will then ask for the following: base and height – if the previous input is 1 (right triangle) width and length – if the previous input is 2 (rectangle) radius – if the previous input is 3 (circle)SPECIFICATIONS: - The program will then display the perimeter (circumference of the circle) and area of the chosen figure. You’re free to format the input/output display. The numeric output should be computed and NOT HARD-CODED. - The program will display “invalid input” if the initial input is not 1,2 or 3. After this, the program will terminate.- The next input (dimension/s of the chosen figure) will be stored on a float data type. The program will automatically terminate if the input is not a number.- Observe proper code indention - All lines should have a comment- Save your cpp file as Surname - PE (Example: Pangaliman - PE.cpp)TEST CASES: If the user inputs…Write a program that computes the fuel efficiency for a multi-leg journey. The program will first prompt for the starting odometer reading and then get information about a series of legs. For each leg, the user enters the current odometer reading and the amount of gas used (separated by a space). The user signals the end of the trip with a blank line. The program should print the miles per gallon achieved on each leg and the total MPG for the trip.Please write a program which prints out the following story. The user gives a name and a year, which should be inserted into the printout. Please type in a name: Mary Please type in a year: 1572 Mary is a valiant knight, born in the year 1572. One morning Mary woke up to an awful racket: a dragon was approaching the village. Only Mary could save the village's residents. The story should change according to the input given by the user. Sample output 1
- f. A laborant in a laboratory does a number of antigen tests in one day. Write a program that simulates the number of antigen tests done in a day in a laboratory, displays the number of positives and negatives, and calculates the % of positives in one day. Your program needs to first generate a random number that will show the number of tests done in a day. One laboratory in a day cannot do more than 100 tests and less than 1 (they do at least one). Then for each of the tests, your program needs to generate a random number to show whether they are positive or negative. In order to write this program, you need to have the following three functions used by the main function: test result (void): This function generates a test result. It should randomly return either one or zero. 1 means positive test result and 0 means negative test result. float positive percentage (int,int) : This function takes the total number of positives and the total number of tests and returns the % of positives.…Coral Help Write a program that takes a date as input and outputs the date's season. The input is an integer to represent the month and an integer to represent the day. Ex: If the input is: 4 11 the output is: spring In addition, check if both integers are valid (an actual month and day). Ex: If the input is: 14 65 the output is: invalid The dates for each season are:spring: March 20 - June 20summer: June 21 - September 21autumn: September 22 - December 20winter: December 21 - March 19Given the sample code below in generating a random number. Create a program that lets the user play the game of Rock, Paper, Scissors against the computer. The program should work as follows. 1. When the program begins, a random number in the range of 1 through 3 is generated.If the number is 1, then the computer has chosen rock. If the number is 2, then thecomputer has chosen paper. If the number is 3, then the computer has chosen scissors.(Don’t display the computer’s choice yet.)2. The user enters his or her choice of “rock”, “paper”, or “scissors” at the keyboard.(You can use a menu if you prefer.)3. The computer’s choice is displayed.4. A winner is selected according to the following rules:a. If one player chooses rock and the other player chooses scissors, then rock wins.(The rock smashes the scissors.)b. If one player chooses scissors and the other player chooses paper, then scissorwins. (Scissors cuts paper.)c. If one player chooses paper and the other player chooses rock, then…
- Write a program that reads from the user a character ('q' or 'c'). If the character is 'c', the program reads from the user the radius rof a circle and prints its area. • If the user enters 'q', the program asks the user to enter the length and width of a quadrilateral. We assume the quadrilateral is either a square or rectangle. You should print if the quadrilateral is square or rectangle. • Otherwise, it prints "Wrong character" PS: Use the following formulas: area of circle=3.14*r Sample Run1: Enter a character (q or c): q Enter the Length and Width: 80 150 |It is a rectangle Sample Run2: Enter a character (q or c): q Enter the Length and Width: 80 80 It is a square Sample Run3: Enter a character (q or c): c Enter the radius: 2 The area of the circle is 12.56 Sample Run4: Enter a character (q or c): d Wrong characterWrite a program that reads student scores, gets the best score, andthen assigns grades based on the following scheme:Grade is A if score is ≥ best -5Grade is B if score is ≥best -10;Grade is C if score is ≥best -15;Grade is D if score is ≥best -20;Grade is F otherwise.The program prompts the user to enter the total number of students, and thenprompts the user to enter all of the scores, and concludes by displaying the grades.Here is a sample run: Enter the number of students: 4 ↵EnterEnter 4 scores: 40 55 70 58 ↵EnterStudent 0 score is 40 and grade is FStudent 1 score is 55 and grade is CStudent 2 score is 70 and grade is AStudent 3 score is 58 and grade is CA parking garage charges a $20.00 minimum fee to park for up to three hours. The garage charges an additional $5.00 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24- hour period is $50.00. Assume that no car parks for longer than 24 hours at a time. Write a program that calculates and printsthe parking charges for each of three customers who parked their cars in this garage yesterday. You should enter the hours parked for each customer. Your program should print the results in a neat tabular format and should calculate and print the total of yesterday’s receipts. The program should use the function calculateCharges to determine the charge for each customer. Your outputs should appear in the following format: Car Hours Charge1 1.5 20.002 4.0…
- Statistics are often calculated with varying amounts of input data. Write a program that prompts for and takes any number of non-negative integers as input, and outputs the average and max. A negative integer ends the input and is not included in the statistics. Example program run (the user types only the numbers, in this case 15 20 0 5 -1): Enter numbers separated by spaces, with a negative number to quit: 15 20 0 5 -1 Average = 10 Max = 20 #include <iostream>using namespace std;/* program that prompts for and takes any number of non-negative integers as input, and outputs the average and max. A negative integer ends the input and is not included in the statistics. Example program run (the user types only the numbers, in this case 15 20 0 5 -1): Enter numbers separated by spaces, with a negative number to quit:15 20 0 5 -1 Average = 10 Max = 20*/ int main() { /* Type your code here. */ return 0;}Write a program that generates a plate number based on the user's answer to the following questions: 1. What is your favorite color of the rainbow (ROYGVIB)? a. Use the first letter of the chosen color as the first character of the plate number. b. Display "Invalid Input" and ask the user to re-enter his/her answer if the answer is not a valid color of the rainbow. 2. What is your month of birth? a. Use the last letter of the month as the second character of the plate number. b. Display "Invalid Input" and ask the user to re-enter his/her answer if the answer is not a valid month. 3. What is your first name? a. Use the third letter of the first name as the third character of the plate number. No need to include the second name if you have a second name. Make sure to use "cout" and "cin" to collect the necessary inputs from the user. For the number section: 1. Ask the user his/her age and use the age as the first and second digits of the plate number. a. Display "Invalid Input" and ask…Write a program that takes in a line of text as input, and outputs that line of text in reverse. The program repeats, ending when the user enters "Done", "done", or "d" for the line of text. Ex: If the input is: Hello there Hey done then the output is: ereht olleH yeH 382800 2462264gay