Write a C++ program that is concerned with employee's Salary .The Original Salary is entered through the console window, then compute the taxes (14% of the salary) and the Bonus(10% of the salary) and then save the salary, Taxes, Bonus and Final salary (Original Salary-Taxes+Bonus) in a text file. • Write a test program that prompts the user to enter 10 employees' salaries and save it in a text file.
Q: Using python display even and odd numbers from 10 to 1(reverse order), Using a while loop. Outcomes ...
A: Algorithm 0. Start 1. Declare variable num = 10 2. if number num is divisible by 2 print "num is an ...
Q: Three reasons why it is critical to lay out an application's user interface before beginning to writ...
A: Create a user interface for the application. It's all about how the application looks and feels to t...
Q: For Questions 1 and 2, manually enter the word Score into cell A1, and manually enter 87 into cell B...
A: VBA is abbreviated as Visual Basic for Applications which is a coding language of Excel and other Of...
Q: Describe in detail with an example and application each of the following CNN architecture: Vggnet an...
A: The community has called the runner-up at the ILSVRC 2014 competition VGGNet, which was constructed ...
Q: What are the advantages and disadvantages of e-commerce? Can E-learning be defined as an e-business...
A: According to bartleby guidelines three questions are answered they are as follows.
Q: What impact is the rising use of smartphones and tablets, with their smaller screen sizes, having on...
A: INTRODUCTION: USER INTERFACE: A device's user interface (UI) is the interface between the user and t...
Q: Please right down the steps you would need to take to do the following in a Vitial Machine! In your...
A: Before you can change the desktop background in Student VM, you need to change the following Group P...
Q: What is the purpose of the default encryption?
A: Introduction: All current and new Amazon S3 buckets are compatible with default encryption. To encry...
Q: How is data in a relational database system organized? collection of related fields collection of re...
A: The correct Option will be (c) collection of related tables Explanation:- The data in a relational d...
Q: Design equation F(A,B,C,D) =I(1,2,5,9,10,11,13,15) using a { 1 4x1 Mux?
A: Here first we need to write the truth table. The size of MUX is 4x1. Thus number of select line bit...
Q: i need code for face detection using CNN user defined and face recognition using svm clasifier from ...
A: CNN - It is a deep learning algorithm that takes an image as an input and assign some features to va...
Q: allow you to build two functions for multiplication as well as modulus. The two numbers must be pass...
A: Code: #include <iostream> using namespace std; int mul(int num1, int num2){ return num1*num...
Q: (RS + R)* RS = (RR*S)* true or false prove and explain
A: Here, we have to check whether given regular expressions are equivalent or not. Using basic regular ...
Q: Given two positive integers, a and b, where a≥b, create a program in python 3 that uses Euclid's Alg...
A: Algorithm: Start Read number1 n1 and number2 n2 Implement a method named gcd() that takes 2 number ...
Q: Q4.Describe the following operations with truth table: a. NAND operation. b.NOR operation. c.NOT ope...
A: NAND operation A NAND gate is a combination of NOT+AND gate. It gives the result false(0) if all it'...
Q: computer science : What are the many sorts of maintenance and what are the differences between them?
A: Introduction: Maintenance is the process through which organisations keep their resources in good co...
Q: Find a popular CSS library on the web. In a short paragraph, explain how you would import this CSS l...
A: One of the popular CSS libraries is Bootstrap Copy the below stylesheet link to the <head> tag...
Q: 1. Write a program using switch statement to display the days of the week. For example if the user e...
A: The given problem is related to java where the requirement is to provide a java program. **The pos...
Q: v) Write a Python program to input two strings s1 and s2 of lengths x1 and x2 respectively. Compute ...
A: Required:- v) Write a Python program to input two strings s1 and s2 of lengths x1 and x2 respectivel...
Q: What governance mechanisms need to be put in place to ensure common customer data and a shared custo...
A: Let's see the solution in the next steps
Q: Write a Java Program to take an int n from the user & print the absolute difference between n and 51...
A: absolute value of the difference of two numbers. 51 is one number and n is another number.
Q: Python, using Conjunctive Normal Form formula, find a range of valeus of atomic proporsitions which ...
A: All of the following formulas in variables {\ displaystyle A, B, C, D, E} {\ displaystyle A, B, C, D...
Q: What are the measurable aims of usability-assisted design?
A: Introduction: Usability goals include things like speed, accuracy, overall success, and customer sat...
Q: ADD R3 = R4 + R9; I4: lw $R1,0($R3) //LDW R1 = MEM[R3 + 0]; I5: su...
A: The language code is given as, I0: ADD R4 = R1 + R0; I1: SUB R9 = R3 - R4; I2: ADD R4 = R5 + R6; I3:...
Q: PHP exercise 3 Arithmetic-assignment operators perform an arithmetic operation on the variable at...
A: Take variable as a and apply all arithmetic operators + for addition - for subtraction * for mul...
Q: ( (1-x - )-( (1--
A: with(codegen); f2 := (1/2 + i*sqrt(3)/2)^5 * (1 - 5*x/12 - 5*y/12) - (1/2 + i*sqrt(3)/2)^4 * (1 - 3*...
Q: he image in the file provided (128 x 128, 2 byte integer format), a disk object is present in each o...
A: It is defined as a programming language developed by MathWorks. It started out as a matrix programmi...
Q: How to write C++ program using array 1D size: 4 with output: Press r to generate 4 random numbers be...
A: First use the srand to create the random number between 1 to 10 and then add them in the array . Cre...
Q: SeaMoney has a feature to transfer money between users. Let's imagine a simple scenario. N usernames...
A: Using hashmap to store the username as key and balance as associated value with the key. Below is th...
Q: Examine how various companies employ information systems.
A: Introduction: Managers and other organizational leaders can maintain data in folders and documents t...
Q: Writes a MIPS assembly language program that reads an input string, reverses the order of its charac...
A: .model stack .stack 200h .data msg1 db 10, 13, "Enter a string (at most 18 characters) : ", 10, 13,'...
Q: Create a CSS style for an H3 element, where: - colour is blue (in RGB format) - text aligned to le...
A: A CSS style for an H3 element, where: - color is blue (in RGB format) - text aligned to left - text...
Q: Write in pseudo-code a program/algorithm that takes a number on the input and expresses all the diff...
A: Please refer below for your reference: The concept used here is of dynamic programming where we brea...
Q: fellowing 12+L÷3+4+(10+9)3 1. covert expression into Postfix expresian
A: We must first know how many types of expressions are there and how to evaluate infix to postfix exp...
Q: Any algorithm that can be implemented in software can also be implemented in hardware, and vice vers...
A: The answer is
Q: The Rules of Inference and Replacement to solve for the conclusions. 1. ~(U W) X 2. U5-U 2. 1. -Rv P...
A: Answer is given below-
Q: Which module excluding Home/Dashboard the most important? Why?
A: what module is important and why?
Q: Translate the below Python code segments into Assembly Python Assembly # Your Answer (part a): # Par...
A: Given python code is # Part (a) Assume # $t0 stores variable a # $t1 stores variable bi # $t2 store...
Q: In a bag of biscuits, there are 22 biscuits per bag, and a container holds 70 bags of biscuits. Crea...
A: Here is the explaination of the program and the easy approach :- First create all the variables re...
Q: Write a C++ program to take a string from the user, print a new string made of every other char star...
A: Your C++ program is given below as you required with an output.
Q: 1 bit is equal to * O 6 byte 10 patterns O 8 bytes All choices are incorrect O 2 patterns The CPU pr...
A: The solution to the given problem is below. ***Note: According to Bartleby policy we are not all...
Q: Explain clearly and state TWO reasons why writing user-defined functions is a good idea while design...
A: INTRODUCTION: A function is a code block that does a certain purpose. User-defined functions are fu...
Q: Suppose the value entered for the following program is 123321 Write the steps of implementation for ...
A: Find the answer given as below :
Q: if x=2, y=3 then we execute y=x the values became as O x=3 , y=3 O x=2, y=2 О х-3, у-2 О х-2, у-3 al...
A: Initially x=2 and y=3
Q: How do you reconcile the 'need' for technology with the difficulty or dilemmas that it is confronted...
A: Introduction: Intensive reading or education is the only way to match the technological required wit...
Q: Python's syntax is as follows: Print a list of all seats in a theater based on the parameters num r...
A: Note: Please take care of indentation while writing the code.
Q: open source in computer science?
A: What is open source? It can be a software or a platform that is accessible to anyone and it also all...
Q: 2. What other examples of classification and diagnosis situations can you think of that would benefi...
A: Case-based reasoning (CBR) is an encounter based way to deal with tackling new problems by adapting ...
Q: "The internet is a computer network that connects billions of computing devices all around the world...
A: Introduction: Individuals and businesses can connect to the Internet through computer terminals, com...
Q: order to improve the efficiency of a medical supply business, you will create an automated system. W...
A: Lets see the solution.
Step by step
Solved in 3 steps with 3 images
- Write a C++ program that allows a user to enter their rating of the three movies in the Dark Knight Trilogy: Batman Begins The Dark Knight The Dark Knight Rises Ratings must be between 1 and 5. If a rating entered is less than 1 or more than 5, display an appropriate error message, and ask for a new rating. After all the ratings have been entered, display each rating entered, the highest rating, the lowest rating, and the average of the ratings.Write a C program that calculates the price of a pizza and prints the receipt as follows:1- Your program should first ask the user to enter the size of the pizza (integer value 1=large, 2=medium, 3=small) as well as the number of toppings (integer).2- Your program should then read the pizza basic price (double) as well as the price of a topping (float) from a file called prices.txt3- Your program should then calculate the total price of the pizza using the following formula:Total price = (basic price + number of toppings * topping price ) / size;And print a receipt which displays the details of your pizza order as well as the final total price to the screenYour program should include at least two functions:1- Function calculate_Price which takes the basic price, number of toppings, topping price, and size as parameters and returns the total price.2- Function print_Receipt which takes the number of toppings, size of pizza and total price as parameters and prints them to the screen.In Python, A sales event at Trader Jane's is reducing some items by 25%. Store that value to a properly named constant. Write a program that functions like a cashier terminal for one item. Some items are subject to 7% sales tax and some are not. Use a constant for the sales tax value, too. Write a program for Trader Jane's that runs as shown next: Enter the ticket price of the item 100 Is this item reduced y/n? y is this item taxable y/n? y Here is your bill Original price $100 Reduction during event $25.00 Final price $75.00 7% Sales tax $5.25 Total amount due $80.25 Plan each program by writing pseudocode. Write all of your pseudocode as comments immediately after your name and SPC ID#. Add more comments as needed in each program to explain your code. Choose descriptive variable names in all programs. Currency format. There should be no space between the $ sign and the first digit. See sep on page 66 to cancel the space automatically added when print items are separated by…
- Write a program in c++ that reads a person’s name in the following format: first name, thenmiddle name or initial, and then last name. The program then outputs the name in thefollowing format:last name, first name. middle initial.For example the inputMary Average Usershould produce the outputUser, Mary A.Your program should work the same and place a full stop after the middle initial evenif the input did not contain a full stop. Your program should allow for users who giveno middle name or initial. In that case, the output of courses contains no middle nameor initial. For example, the inputMary Usershould produce the outputUser, MaryYour program should also accept names in lowercase, uppercase or a mix oflowercase and uppercase, and display that in the correct format, e.g. if the input ismArY average USERshould produce the outputUser, Mary A.Use C-strings and assume that each name is at most 20 characters long.Hint: it may be easier to use 3 C-strings. Exercise from Problem Solving…Write a C# program that asks the user to enter their name and age, and then prints a greeting message that includes their name and age. Your program should do the following: Ask the user to enter their name and age using the Console.ReadLine() method. Use string concatenation to create a greeting message that includes their name and age. Print the greeting message to the console using the Console.WriteLine() method. Provide the code for your program (the .cs file). Example output: Enteryourname:John Enteryourage:16 HelloJohn,youare16yearsold.In this chapter, you learned that although a double and a decimal both hold floating-point numbers, a double can hold a larger value. Write a C# program named DoubleDecimalTest that declares and displays two variables-a double and a decimal. Experiment by assigning the same constant value to each variable so that the assignment to the double is legal but the assignment to the decimal is not. In other words, when you leave the decimal assignment statement in the program, an error message should be generated that indicates the value is outside the range of the type decimal, but when you comment out the decimal assignment and its output statement, the program should compile correctly.
- Write a c program dist.that calculates the distance between two points and prints the result on the screen. The cartesian coordinates of the points would be given in the command line as 6 parameters. Your program should check if the number of arguments provided is correct and that the six coordinates are valid numbers of type double .dist.exe x1 y1 z1 x2 y2 z2 For example, to calculate the distance between the two points (0, 0, 0) and (1, 1, 1), the program would be run as: dist.exe0 0 0 1 1 1Write a c program dist.that calculates the distance between two points and prints the result on the screen. The cartesian coordinates of the points would be given in the command line as 6 parameters. Your program should check if the number of arguments provided is correct and that the six coordinates are valid numbers of type double .dist.exe x1 y1 z1 x2 y2 z2 For example, to calculate the distance between the two points (0, 0, 0) and (1, 1, 1), the program would be run as: dist.exe0 0 0 1 1 1 and the screen output would be 1.73205Write a program in C++ with total change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, and Pennies. Use singular and plural coin names as appropriate, like 1 Penny vs. 2 Pennies. If the input is: 0 The output should be: no change If the input is: 45 The output should be: 1 Quarter 2 Dimes only using: #include <iostream> using namespace std;
- Write a C++ program that Ask user to enter an integer number and then determine whether the number is prime or not? Note: a number is prime that it is only divisible by 1 and itself. such as 3,5,7,13,..Write a C++ program that asks the user to enter the number of books purchased this month and then displays the number of points awarded. An online book club awards point to its customers based on the number of books purchased each month. Points are awarded as follows: Books Purchased Points earned 0 0 1 5 2 15 3 30 4 or more 60Write a C++ code to develop a software for your burger shop that takes orders for a tasty burger from theuser, in just 5 steps. Attached below is the menu that you are going to display to the user in a niceattractive format. User can only add one type of bun to the burger. Maximum two types of cheese, 1 itemfrom the category “turn up the taste”, maximum 3 from fresh’N it up and 3 from the sauces. If the userpresses 0 then you are going to skip that category (user cannot skip “choose your bun” and “turn up thetaste”).Each element from the “choose your bun” costs .72$Each element from the “make it cheesy” costs .5$Each element from the “turn up the taste” costs 1.2$Each element from the “fresh’N it up” costs .2$Each element from the “get saucy” costs .3$After taking the input from the user. Total cost will be displayed for the burger in $.