Q3. Write a C program that displays the menu shown in the example run, to the user, with the operations following the menu selection. • The menu will be shown continuously until such time that the user inputs 3 for exit. • If anything but the exit (the 3rd) option is chosen, then the program will generate a random number between 3 and 9, and then use this number to determine how many rows of the triangle of choice to draw. • If right triangle is chosen, then draw a triangle aligned to the right hand side, as shown in example run. • If isosceles triangle is chosen, then draw a triangle as shown in the example run below. Project Name: LG9_Q3 File Name: Q3.cp
Q: Get SNR-dependent graphs of BER and interruption probabilities for each state by doing receiver dive...
A: The Answer for the given question in step-2 in written format.
Q: Without giving the physical path how you can connect the database
A: Without giving path In Visual Studio Code, press Ctrl+Shift+P (or F1) to open the Command Palette....
Q: Write a C function satblk() to implement the Actuation Saturation Model in the picture below as u = ...
A: According to the question, we have to write a C function to implement the Actuation Saturation Model...
Q: In a two’s complement system, what value can be added to any other value without causing an overflow...
A: A two's-complement number system encodes positive and negative numbers in a binary number representa...
Q: Which of the following uses the parameter entity? a. DTD file O b. XML file c. jQuery d. XSL file
A: According to the question the DTD file use for makes the definition of the data to present in Xml fo...
Q: Is cloud computing capable of alleviating all of a company's concerns regarding its IT infrastructur...
A: Cloud computing and remote computing is one of the technologies which we are going to use in future ...
Q: What is the entire form of the LINQ query language?
A: Introduction: LINQ Query Language: LINQ (Language Integrated Query) is uniform query syntax in C# an...
Q: A read pointer to the location in the file where the next read is to take place must be maintained w...
A: Introduction: Here are some suggestions on how to create, gather, and use pointers with your reader....
Q: Consider the time displayed on a digital clock( 07:30:00) with 3 main components hours, minutes and ...
A: public class q3() { private int hour; private int minute; private i...
Q: A number of criteria must be considered while forming a software team. What methods do you use to pr...
A: INTRODUCTION: What factors must be considered when forming a software development team?How do you as...
Q: find the optimal BST for the following keys and frequencies. keys |1|2|3|4 Freq |4|6|2|3
A:
Q: Define the criteria that test-driven development must possess in order to succeed. For instance, how...
A: Answer: Test Driven Development (TDD) is a software development methodology that focuses on establis...
Q: Write a program that prompts the user to enter an integer value in an array, and user can also print...
A: I give the code in Java along with output and code screenshot
Q: True or False? An action query is accomplished by putting AS and an alternative name after the table...
A: We are given a statement in sql query and we are going to see if the statement is correct or not.
Q: Write Programm using oop in c++ Some form of simplified physics simulation, e.g. multiple interactio...
A: Given, Some form of simplified physics simulation, e.g. multiple interactions in an ideal gas,
Q: What is the entire form of the LINQ query language?
A: Introduction: In C# and VB.NET, LINQ (Language Integrated Query) is a standard query syntax for gett...
Q: conditional structures Create a program that will do the following: Press 1 to ADD Press 2 to Subtr...
A: C++ program to calculate the addition , subtraction ,multiplication, division
Q: It holds that (1000)2 × (0.001)2 = 1. %3D
A: Solution 1) 2: The given both multiplicand and multiplier binary numbers (base 2) can be converted ...
Q: Consider the non homogeneous ODE with a nonlinear term called b: dy dt2 dy + 2Aw- + w?y (1 + by²) = ...
A: Matlab Program: clear; clc; close all; w = 3; lamda = 1/36; f0 = 3; wf = [1, 2.9]; y0 = [0 0]; tsp...
Q: Explain code translation in a few words.
A: Code translation Code translation is a piece of code that are written by the developers in programmi...
Q: It has been attached to your new MacBook Pro with a storage device that the operating system does no...
A: Introduction: A storage device that the operating system does not recognize has been connected to yo...
Q: What exactly is routing and how does it work? How do you tell the difference between two popular rou...
A: Introduction: The process of picking a route for traffic inside a network or across many networks is...
Q: Which of the following statements are true about the preamble field in Ethernet frame. Note: May hav...
A: The correct option will be Option(a), Option(b) and Option(d) Explanation:- The preamble consists o...
Q: The software development life cycle is represented using model diagrams.
A: Introduction
Q: What are the inputs to Analysis Modelling?
A: Analysis Model is a specialized portrayal of the framework. It goes about as a connection between fr...
Q: Software engineers must help clients gather requirements efficiently. To achieve the criteria, your ...
A: Introduction: A software engineer is a person who designs, builds, maintains, tests, and reviews com...
Q: The standard deviation can be calculated with a short cut if the list contains only two different nu...
A:
Q: What is the entire form of the LINQ query language?
A: LINQ is also known as Language-Integrated Query.
Q: What types of systems are most likely to benefit from agile approaches to development, and for what ...
A: Introduction: Agile methodologies are a sort of project management technique.
Q: When it comes to cloud security, what is the "shared responsibility" paradigm like?
A: Introduction: A shared accountability paradigm is a kind of cloud security model. The paradigm estab...
Q: When compared to other views, what distinguishes materialised views from the rest?
A: Introduction: View vs Materialized View: Key Difference Views are not physically kept on disc, unlik...
Q: What is the basic idea behind using a prototype approach while creating a software product?
A: Introduction: Prototyping is a system development process in which a prototype is developed, evaluat...
Q: Describe how a computer can produce an incorrect answer when performing numerical computations even ...
A: Actually computer can provide the accurate data, and its calculations are accurately produce results...
Q: Use the network diagram for the following questions. Repeaters, bridges, and switches are not counte...
A: We need to answer questions based on the given network diagram.
Q: Write a sample code for The CSS Universal Selector
A: What are universal selectors: CSS universal selectors can be used to pick any element in an HTML doc...
Q: Explain the digit string in a few words.
A: Introduction: A digit string is defined as a string that has digits.
Q: What is the significance of data security? After that, talk about how to deal with threats like thes...
A: here we have given a brief note on significance of data security and also the process to deal with t...
Q: convert dhe given binany numben into decimal number System. humker : (110-011 = (? ), humber %3D
A:
Q: Can I write code in c++ use stack in SLL without use ( class) And add a function containing ( pri...
A: C++ code using stack for SLL.
Q: Explain how an 28F400 memory chip can switch from 8 bit data bus to 16 bits data bus without effecti...
A:
Q: Use the following state diagram and create the state table for a synchronous to detect the sequence....
A: Below is the answer to above question. I hope this will be helpful for you...
Q: Who defines user needs and what does a system require?
A: Introduction: A requirement specification document is created by combining the user's requirements a...
Q: Q-L. What is at put gf this logic gatu? A F=?
A:
Q: Write a java program to take three ints, a b c, print true if 6 is greater than a, and c is greater ...
A: Algorithm: Step1:Start. Step2:Read a,b,c values are input. Step3:Compare three values in the given ...
Q: What is the Conceptual Framework for Cybercrime? Do you have any references for your response?
A: Introduction: According to internet theorists, cyberspace provides for near-instant connections betw...
Q: Explain the type of security attacks that can be performed by hackers, and determine the security me...
A: A security attack is an unauthorized attempt to steal, damage, or expose data from an information sy...
Q: is the reduction, in decibels, to achieve a specified BER of an error- correcting coded system compa...
A:
Q: What advantages does runtime polymorphism have over compile-time polymorphism? What is the differenc...
A: Polymorphism means many forms Compile-time polymorphism means static polymorphism which is using the...
Q: 6.9.1: Objects. ACTIVITY 372660.2407286.qx3zay7 Jump to level 1 1 Define a method named orderOfAppea...
A: Algorithm: 1.Define required variables 2.use for loop and if conditional statements 3.print the out...
Step by step
Solved in 4 steps with 3 images
- In C write a simple scientific calculator program as follows:Display a menu of options according to table.Ask the user to enter a menu option (upper and lower case will work).If menu option is not valid, display msg “invalid option” and repeat parts 1 and 2. (use do-while)For “add” option ask the user to enter two numbers, store as double and display sum.For subtract option ask the user to enter two numbers, store as double and display difference.For multiply option, same as above.For divide option, same as above (test the denominator, if zero, display an appropriate msg).For squared, ask the user to input a number and output the square of the number.For square root, check if the number is negative and output appropriate msg, otherwise, output solution.For factorial, ask for a number an output factorial ( 5! = 5*4*3*2*1). (use for loop)For absolute value, output the absolute value of a given number.For greater integer, round the number to an integer greater than number.For leap year,…Problem: A small company needs an interactive program to compute an employee’s paycheck. The payroll clerk will initially input the data, and given the input data, an employee's wage for the week should be displayed on the screen for the payroll check. The data for the employee includes the employee's hourly pay rate and the number of hours worked that week. Wage is equal to the employee's pay rate times the number of hours worked (up to 40 hours). If the employee worked more than 40 hours, wage is equal to the employee's pay rate times 40 hours plus 1½ times the employee's pay rate times the number of hours worked above 40. Instructions: Match the action at the left-side with the correct step number at the right-side (the attached picture). Note that it may be possible to group more than one related actions in the same logical step / process without altering the essence of the algorithm. In the program flow, input and checking of hourly pay rate should come before that of the number…Q1. With Menu Driven Program Design a Calculator having all the main functions also use Math's functions. Q2. Write a program to find that a letter is vowel or not using If-else statement? Q3. Write a program that performs a survey on beverages. The program sholud prompt for the next person untila lookout value of -1 is entered to terminate the program. Each person participating in the survey should choose their favorite beverage from the following list? 1. Cofee 2. Tea 3. Coke 4. Orange Juice Q4. Given an integer n such as 1367. Write a program that computes the inverse of this integer as 7631. Q5. Write a program to print prime numbers within given range using while loop?
- In cengage mindtap The credit plan at TidBit Computer Store specifies a 10% down payment and an annual interest rate of 12%. Monthly payments are 5% of the listed purchase price, minus the down payment. Write a program that takes the purchase price as input. The program should display a table, with appropriate headers, of a payment schedule for the lifetime of the loan. Each row of the table should contain the following items: The month number (beginning with 1) The current total balance owed The interest owed for that month The amount of principal owed for that month The payment for that month The balance remaining after payment The amount of interest for a month is equal to balance × rate / 12. The amount of principal for a month is equal to the monthly payment minus the interest owed.In C++ please, using basic programming one coding The main menu should show the available options: Show the roster: Displays all the player names and jersey numbers in a numbered list. Ex: 1. Susan Martinez (33), 2. Jake Smith (21), etc. Add a player: Prompts the user to type the player's full name and jersey number. Then adds the player to the roster. Remove a player: Displays the roster and prompts the user to enter the number of the player to remove. Then removes the player from the roster. Quit: Quits the program. The program should display the main menu after the user shows the roster, adds a player, or removes a player. The program only terminates when the user chooses the quit option. Data validation should be used where appropriate. Ex: The user should not be able to choose an option that doesn't exist or delete a player that doesn't exist. The roster should be kept in alphabetic order by the players' full names. Ex: If Alice Chang (9) is added to a roster with Jake Smith and…A program is needed to manage sales of Super Bowl souvenir t-shirts. There are three types of shirts that we are selling: Chiefs t-shirts Eagles t-shirts Super Bowl t-shirts The t-shirts are all priced at $40 each without any customization. Input: Your program is to display a menu listing each type of shirt. It should then prompt the user for the number of Chiefs t-shirts they would like to order. After the number of Chiefs t-shirts has been entered (which may be 0), if the number was greater than 0, we will ask if they need to add lettering to the shirt (costs 1 dollar per printed letter) the program should continue displaying a prompt and reading the number to order for the other two types of t-shirts in the same way. The program also needs to keep track of the customer name and mailing address. Prompt and read the customer’s name, street address, city, state, and zip code.
- A program is needed to manage sales of Super Bowl souvenir t-shirts. There are three types of shirts that we are selling: Chiefs t-shirts Eagles t-shirts Super Bowl t-shirts The t-shirts are all priced at $40 each without any customization. Input: Your program is to display a menu listing each type of shirt. It should then prompt the user for the number of Chiefs t-shirts they would like to order. After the number of Chiefs t-shirts has been entered (which may be 0), if the number was greater than 0, we will ask if they need to add lettering to the shirt (costs 1 dollar per printed letter) the program should continue displaying a prompt and reading the number to order for the other two types of t-shirts in the same way. The program also needs to keep track of the customer name and mailing address. Prompt and read the customer’s name, street address, city, state, and zip code. (learning in java)Use C Language Airline Reservation System A small airline has just purchased a computer for its new automated reservations system. The president has asked you to program the new system. You are to write a program to assign seats on each flight of the airline's only plane (capacity: 10 seats). Your program should display the following menu of alternatives: Please type 1 for "first class" Please type 2 for "economy" If the person types 1, then your program should assign a seat in the first class section (seats 1-5). If the person types 2, then your program should assign a seat in the economy section (seats 6-10). Your program should then print a boarding pass indicating the person's seat number and whether it is in the first class or economy section of the plane. Use a single-subscripted array to represent the seating chart of the plane. Initialize all the elements of the array to 0 to indicate that all seats are empty. As each seat is assigned, set the corresponding elements of…C++ - Creating a menu (menuOption) - Need assistance in creating a menu that opens up an entirely new menu once the user inputs the appropriate value (range is 0 to 13). - The main photo shows how the initial menu should look like and each title has its own value assigned to it. Also, in the bottom of the photo is "Option : " and there, the user is suppose to input a value that will open up one of the menus. - So if the user inputs 3, then a completely new menu populates on the user's screen (please review photo number two). And in this new populated screen it is title "3. Drop Lowest Score." There is a line below the title and under that line the user is suppose to perform an action but I have yet to create code for that (hence is why I have "case #: Challenge#(); break;"). - But if the user inputs a value that is not within the range OR a letter, then below "Option : " (on the main menu) the program must state an error message such as the following: Option : 14 ERROR - Invalid…
- (Simulation) Write a program to simulate the roll of two dice. If the total of the two dice is 7 or 11, you win; otherwise, you lose. Embellish this program as much as you like, with betting, different odds, different combinations for win or lose, stopping play when you have no money left or reach the house limit, displaying the dice, and so forth. (Hint: Calculate the dots showing on each die with the expression dots=(int)(6.0randomnumber+1), where the random number is between 0 and 1.)A function used to display the argument list on the monitor. It sometimes needs the control string codes to help displaying the remaining argument on the screen. Select one: a. scanf(); b. printf(); c. puts(); d. none of the choicesBirthday party At Lili's birthday party, there was a game arranged by Jojo as the host. That game is to distribute Y number of candy to X number of people where all the candy tastes sweet except for one last candy which tasted like rotten nuts. Candy distribution will be sequentially starting from position Z and if past the last position then the distribution of candy continues to the first position. Write down the person in which position will get the last candy. Input FormatThe first line of input is T, which is the number of test cases.The second row and the next number of T rows are X, Y, Z.X is the number of people to whom the candy will be distributed.Y is the number of candy available.Z is the starting position of the person to whom the candy will be distributed. Output FormatA string “Case #N: “ and a number representing the position of the person who got the last candy. Constraints? ≤ ? ≤ ???? ≤ ?, ? ≤ ???? ≤ ? ≤ X Sample Input 43 4 13 5 24 2 24 5 2 Sample OutputCase #1: 1Case…