Write a program to input the TotalCost and display the Assured gift as per the following criteria TotalCost(TC) Assured Gift Less than or up to 2000 Wall Clock 32001 to 5000 School Bag 5001 to 10,000 Electric Iron More than 10,000 Wrist Watch​

Answers

Answer 1

Answer:

The program in Python is as follows:

TotalCost = int(input("Total cost: "))

if TotalCost <= 2000:

   print("Wall Clock")

elif TotalCost >= 2001 and TotalCost <= 5000:

   print("School Bag")

elif TotalCost >= 5001 and TotalCost <= 10000:

   print("Electric Iron")

else:

   print("Wrist Watch")

Explanation:

This gets input for total cost

TotalCost = int(input("Total cost: "))

If the total cost is up to 2000, print wall clock as the assured gift

if TotalCost <= 2000:

   print("Wall Clock")

If the total cost is between 2001 and 5000 (inclusive), print school bag as the assured gift

elif TotalCost >= 2001 and TotalCost <= 5000:

   print("School Bag")

If the total cost is between 5001 and 10000 (inclusive), print electric iron as the assured gift

elif TotalCost >= 5001 and TotalCost <= 10000:

   print("Electric Iron")

If the total cost is more than 10000, print wrist watch as the assured gift

else:

   print("Wrist Watch")


Related Questions

Which three pieces of information must you include in a project goals document? (Choose 3)
A) Target audience
B) Project deadline
C) Project purpose
D) Color palette
E) Hero image

Answers

Answer:

A) Target audience

B) Project deadline

C) Project purpose

Explanation:

The project goals document outlines the scope of the project, detailing what the project entails to everyone that is to work on the project such that the objectives to focused on, the tasks to be completed, the timeline and deadline of the project, the project participants, and audiences are known or understood, thereby placing everyone in the project team on track

The three pieces of information that must be included in a project are therefore; the target audience of the document, the deadline of the project, clearly stated, and the purpose of the project; what the project is going to accomplish

The three pieces of information you must include in a project goals document are:

A) Target audience B) Project deadline C) Project purpose  

According to the given question, we are asked to show the  three pieces of information you must include in a project goals document and why they are important when making a project goal.

As a result of this, we can see when making a project goals document, it is important to include the target audience, project deadline and the project purpose because it gives the project a clear objective and deadline which can be achieved.

Read more here:

https://brainly.com/question/17293938

The wiring and connectors that carry the power to a motor must be in good condition. When a connection becomes loose, oxidation of the copper wire occurs. The oxidation ____. A. acts as an electrical resistance and causes the connection to heat more B. has no effect on the electrical connection C. decreases the resistance D. none of the above

Answers

Answer: A. acts as an electrical resistance and causes the connection to heat more.

Explanation:

The wiring and connectors that carry the power to a motor must be in good condition. It should be noted that in a case whereby the connection becomes loose, then the oxidation of the copper wire occurs and thee oxidation will act as an electrical resistance and then results in the connection to heat more.

In such case, this has an effect on the electrical connection and increases the resistance. Therefore, the correct option is A.

What is the diffrent between ibm pc and ibm compatibles in table:​

Answers

Answer:

An IBM PC is a computer designed and developed directly by IBM, where as IBM Compatibles are designed by IBM but manufactured by companies other then IBM.

Explanation:

Hope this helped :)

how do you take a screenshot on a Samsung tablet

Answers

Explanation:

to capture a screenshot press and hold the power and volume down button at the same time for approximately 2 seconds

c programming question


Given n, take the sum of the digits of n. If that value has more than one digit, continue reducing in this way until a single-digit number is produced. The input will be a non-negative integer.

Answers

Answer:

int digitSum(int n) {

int sum = 0;

while (n) {

 sum += n % 10;

 n /= 10;

}  

return sum < 10 ? sum : digitSum(sum);

}

int main()

{

int n = 12345;

printf("Digit sum of %d is %d\n", n, digitSum(n));

}

Explanation:

The recursion takes care of the repeated summing in case the sum has more than 1 digit.

Don's company has contracted with a service provider to receive a computing platform for all employees, complete with an operating system, database services, and a Web server. Don develops applications using tools delivered by the service provider. What type of service has Don's company signed up for?

Answers

Answer:

Platform as a Service (PaaS).

Explanation:

Cloud computing can be defined as a form of data computing which requires the use of shared computing resources such as cloud storage (data storage), servers, computer power, and software over the internet rather than local servers and hard drives.

Basically, cloud computing comprises three (3) service models and these include;

1. Platform as a Service (PaaS).

2. Software as a Service (SaaS).

3. Infrastructure as a Service (IaaS).

Platform as a Service (PaaS) refers to a type of cloud computing model in which a service provider makes available a platform that allow users (software developers) to build code (develop), run, store information in a database and manage applications over the internet.

The main purpose of a Platform as a Service (PaaS) is to provide an enabling environment for software developers to code without having to build and maintain complex infrastructure needed for the development, storage and launching of their software applications.

Simply stated, PaaS makes provision for all of the software and hardware tools required for all the stages associated with application development over the internet (web browser).

Hence, the advantage of the Platform as a Service (PaaS) is that, it avails software developers with enough convenience as well as simplicity, service availability, ease of licensing and reduced costs for the development of software applications.

These are the different types of Platform as a Service;

1. Private PaaS.

2. Public PaaS.

3. Open PaaS.

4. Mobile PaaS.

5. Communications PaaS.

6. Hybrid PaaS.

In this scenario, the type of service Don's company signed up for is called Platform as a Service (PaaS).

The program prompts the user for five to ten numbers all on one line, separated by spaces, calculates the average of those numbers, and displays the numbers and their average to the user.

The program uses methods to:

1) get the numbers entered by the user all on one line separated by spaces;

2) calculate the average of the numbers entered by the user; and

3) print the results.

The first method should take no arguments and return a String of numbers separated by spaces.

The second method should take a String as its only argument and return a double (the average).

The third method should take a String and a double as arguments but have no return value.

IF user input is: 20 40 60 80 100

Answers

Answer:  

import java.util.Scanner;  

public class AverageDemo

{  

public static String getNumbers()

{

 

 String numbers;  

 Scanner scn = new Scanner(System.in);  

 System.out.println("Enter five to ten numbers all on one line, separated by spaces: ");

 numbers = scn.nextLine();

 return numbers;

}  

public static double calcAverage(String numbers)

{

 String[] values = numbers.split(" ");

 double total = 0;  

 for (int i = 0; i < values.length; i++)

 {

  total += Integer.parseInt(values[i]);

 }  

 if (values.length == 0)

  return 0.0;

 else

  return (total / values.length);

}  

// Method definition of printResults: print the results

public static void printResults(String numbers, double average)

{

 System.out.printf("\nThe average of the numbers %s is %.2f\n", numbers, average);

}  

// main method

public static void main(String[] args)

{

 // Call the methods

 String numbers = getNumbers();

 double average = calcAverage(numbers);

 printResults(numbers, average);

}

}

Output:

Research and describe plug-ins and their usage in graphic design.

Answers

Answer:

Plug-ins are software developed to work with another software that is already installed in the computer. They are basically add-on software that enhance a functionality of an existing software. These plug-ins can be used for different purposes based on which software they support. There can be plug-ins for search engines, audio-video players, photo-editing software, graphical design software, and more.

Plug-ins may be developed by the same company which developed the software that the plug-in is supposed to work with. It may also be developed by independent developers who just want to solve or add an element to the existing features of a software.

Plug-ins are mostly free and are released after the target software is tested and released.

Plug-ins offer a lot of assistance in graphical design. It works with the design software for adding or enhancing affects and styles to the original work. Some of the functions that popular plug-in software provide are:

• to improve color, sharpness, and focus (perspective) of the images

• to create (and enhance) natural lighting effects within the image

• to sharpen or define (emphasize) particular parts of the image

• create motion blur

• change point-of-focus of the image

• alter the level of opacity of brushes

• alter the size of brush strokes (different from the ones that already exist)

• Control and enhance the intensity of dark areas in an image

• eliminate distortion due to camera shake

• create metallic edges for elements in the image

• introduce mood and blended contrast effects

Explanation:

This is what it said when I submitted my answer

Which category was originally developed to protect both digital and hard-copy sensitive information?

Answers

Answer:

Information assurance

Explanation:

Information assurance was originally developed to protect both digital and hard-copy sensitive information.

You are the IT Administrator for the CorpNet.local domain. You are in the process of implementing a group strategy for your network. You have decided to create global groups as shadow groups for specific departments in your organization. Each global group will contain all users in the corresponding department. In this lab, your task is to: Create the following global security groups on the CorpDC server in their corresponding OUs: OU Creation Location New Group Name Accounting Accounting Research-Dev Research-Dev Sales Sales

Answers

Answer:

1. Select Tools then Active Directory Users from the Server Manager

2. Navigate to the relevant Organizational Unit, OU, in the Active Directory

3. Select New then Group in the OU in which a global securities group is to be created

4. The group name (Accounting, Research-Dev, or Sales) is entered into the Group name field

5. Select the scope of the group

6. The group type is then selected (Domain Local, Global, or Universal)

7. The user accounts are then added to the group as follows;

i) Selecting the Add to a group option after right clicking a user account

ii) Enter the name of the appropriate group in the field to Enter the object names to select

iii) A group scope and group type is then selected

iv) Click on Check names

v) Other users can be added to the group by repeating steps i), ii), iii), and iv)

8) To add additional users to the group, the step 6, 7, and 8 is to be repeated

Explanation:

Is there any quantum computer in India?​

Answers

yes, Qulabs was one of the first quantum computing startups in India.

The information included in a résumé should always relate to the job objective; if it isn’t related, it shouldn’t be included.

Answers

Answer:

True.

Explanation:

A resume (curriculum vitae) can be defined as a short text-based document that a job applicant use to briefly outline his or her qualifications, abillities and accomplishments, haven completed and obtained an academic certificate. Thus, it is used to briefly outline a person's qualifications, abillities, skills set, and accomplishments, after completing and obtaining an academic certificate such as a bachelor's degree, master's degree, etc.

Generally, all job applicants are required to have a resume (curriculum vitae). This brief and concise document is always requested by human resource managers during the job application process.

Furthermore, the primary way to make a resume persuasive (to convince or inform an action in the minds of the readers - potential employers) is by customizing it to fit each company and position.

Hence, the information included in a résumé should always relate to the job objective; if it isn’t related, it shouldn’t be included.

This ultimately implies that, job applicants are expected to tailor their resume to fit or match the position that is advertised by a company's human resources department.

When you call a method with a parameter list, the arguments in the argument list Select one: a. must be coded in the same sequence as the parameters b. must have data types that are compatible with the parameters c. have the same names as the parameters d. all of the above e. a and b only

Answers

Answer:

a and b only

Explanation:

If you have a function foo(int a, double b) { } you can call this as foo(x,y), just as long as x is an int and y is a double.

Lori Redford, who has been a member of the Project Management group, was recently promoted to manager of the team. She has been added as a member of the Managers group. Several days after being promoted, Lori needs to have performance reviews with the team she manages but she cannot access the performance management system. As a member of the Managers group, she should have the Allow permission to access this system. What is most likely preventing her from accessing this system

Answers

Answer:

she is still a member of the Project Management group

Explanation:

The most likely reason for this is that she is still a member of the Project Management group. This would prevent her from accessing the performance management system. The performance management system most likely allows access to the Managers Group but denies access to the Project Management Group. Therefore, since the deny access overrides the allow access, it would ultimately cause Lori to be unable to access the system. In order to fix this, she would simply need to leave the Project Management Group.

CLS
N = 1
FOR J = 1 TO 5
PRINT N
N = 10*N+1
NEXT J
END

Answers

Answer:

1

11

111

1111

11111

Explanation:

Given

The above QBasic code

Required

The output

The iteration on the third line is repeated 5 times; i.e. for values of j from 1 to 5.

In each iteration, the value of N is printed and the next value is calculated.

Initially, the value of N is 1 ---- on line 2

So, 1 is printed first. The next value of N is as follows:

[tex]N = 10 * N + 1[/tex] --- we keep replacing N (on the right-hand side) with current N value.

So, we have:

[tex]N = 10 * 1 + 1 =11[/tex]

[tex]N = 10 * 11 + 1 = 111[/tex]

[tex]N =10 *111+1 = 1111[/tex]

[tex]N =10 *1111+1 = 11111[/tex]

Which method deletes a footer from a document?

Double-click the footer region and delete all the content in the Footer.
Click on the Insert tab on the ribbon, click the Footer button, and select Remove Footer from the list.
Double-click the footer region; under the Design tab in the Header & Footer group, click on the Footer button and select Remove Footer from the list.
All the above are methods for deleting a footer from a document

Answers

The first option is your answer DOUBLE CLICK THE FOOTER REGION ECT

A computer that supports LoJack technology must have two main components installed. It needs an Application Agent (residing in the OS), which sends tracking signals that enable location and recovery of a stolen device. The other component is a Persistence Module, which restores the Application Agent and allows it to survive reinstallation of an operating system or reformatting of the hard drive. The highest level of security offered by LoJack can be achieved when Persistence Module resides in the:

Answers

Answer: Computer's BIOS

Explanation:

Following the information given in the question, the highest level of security that is offered by LoJack can be achieved when Persistence Module resides in the computer's BIOS.

The BIOS (basic input/output system) refers to the program which the microprocessor of a computer uses in starting the computer system when the computer is powered on. It should also be noted that the BIOS is used in managing the data flow that exist between the operating system of the computer and the attached devices like the keyboard, hard disk, mouse, etc.

What is the definition of stream cipher? A. Cryptography wherein two keys are used: one to encrypt the message and another to decrypt it B. A cryptographic method in which someone chooses a number by which to shift each letter of a text in the alphabet and substitute the new letter for the letter being encrypted C. A form of cryptography that encrypts the data as a stream, one bit at a time D. A method other than brute force to derive a cryptographic key

Answers

Answer:

C. A form of cryptography that encrypts the data as a stream, one bit at a time

Explanation:

Cyber security can be defined as preventive practice of protecting computers, software programs, electronic devices, networks, servers and data from potential theft, attack, damage, or unauthorized access by using a body of technology, frameworks, processes and network engineers.

In Cyber security, encryption is a form of cryptography and typically involves the process of converting or encoding informations in plaintext into a code, known as a ciphertext.

Typically, an information or data that has been encrypted can only be accessed and deciphered by an authorized user.

Some examples of encryption algorithms are 3DES, AES, RC4, RC5, and RSA.

A stream cipher is a form of cryptography that is typically designed to encrypt a stream of data, one bit at a time. Thus, each bit corresponds to series of information within a data stream and they are encrypted one after the other.

Write technical term of following statements: a.The set of programs to perform specific task. b.A feature of computer which tells multi-functioning capability of computer. c.The first calculating machine designed for the manipulation of census data. d.The first computer programmer.​

Answers

Answer:

a) Application software

d) Lady Augusta Ada Lovelace

b) (it may be versatility

describe in detail what each step would look like if you ran into a software error.

Answers

Answer:

First you have to identify the problem.

Second Gather information.

Third iterate through potential solutions.

Fourth Test your solution.

Explanation:

There are many different ways to handle errors in software but this is the way I do it.

Hope this helps :)

After running into a software error, a user needs to first determine the reason for the error, work towards a solution and then execute the solution discovered.

Software Error

A software error occurs when an error or unusual behaviour is observed in a piece of software and which can be reproduced after certain actions are performed that are in line with the stated rules of the software developer. In other words, a software error does not occur if the software was not used as directed by the software developer.

You can learn more about software errors here https://brainly.com/question/18497347

#SPJ6

Kristi, an event planner, wants to store caterers’ names and contact information in an organized manner. Kristi will MOST LIKELY use a

Answers

Answer:

Publisher Program

Explanation:

list any six area where computer used

Answers

Answer:

I. Banking and finance.

II. Hospitals.

III. Schools.

IV. Defense and military.

V. Office.

VI. e-commerce.

Explanation:

A computer can be defined as an electronic device that is capable of receiving of data in its raw form as input and processes these data into information that could be used by an end user.

The central processing unit (CPU) is typically considered to be the brain of a computer system. It is the system unit where all of the processing and logical control of a computer system takes place.

Additionally, the component of the central processing unit (CPU) that controls the overall operation of a computer is the control unit. It comprises circuitry that makes use of electrical signals to direct the operations of all parts of the computer system. Also, it instructs the input and output device (I/O devices) and the arithmetic logic unit on how to respond to informations sent to the processor.

The six (6) areas in which a computer can be used are;

I. Banking and finance.

II. Hospitals.

III. Schools.

IV. Defense and military.

V. Office.

VI. e-commerce.

What is the base value of the number system that consist of the digit set {0, 1, 2, 3, 4, 5, 6, 7}?

(a) Two
(b) Eight
(c) Sixteen
(d) Seven

Answers

Answer:

B. Eight because octal number system has eight elements

Write the technical terms for each of the following:
a. The use of the Internet to buy and sell goods and services.
b. Voice communication through the Internet. C. A program that allows the user to log into a remote computer on the Internet as a user on that system.
d. High speed digital communication network evolving from existing telephony.
e. Software that is used for surfing information through the Internet.​

Answers

Explanation:

network" (and any subsequent words) was ignored because we limit queries to 32 words.

Richard needs to copy information from another slide presentation that uses a different design template. To ensure that the information he is copying looks right, which option should he choose?

Use Destination theme
Picture
Keep text only
Insert same

Answers

idunnosorry


hope u have a good day

Answer: a

Explanation:

PLEASE ANSWER ASAP

Type the correct answer in the box. Spell all words correctly.
What was the name of the database that Tim Berners-Lee built?
Tim Berners-Lee built a database called [BLANK].

Answers

Answer:

ENQUIRE database.

Explanation:

I am not sure but I guess this is the answer.

what is robotic technology

Answers

Answer:

according to britannica :

"Robotics, design, construction, and use of machines (robots) to perform tasks done traditionally by human beings. ... Robots are widely used in such industries as automobile manufacture to perform simple repetitive tasks, and in industries where work must be performed in environments hazardous to humans"

Explanation:

write an algorithm and draw a flowchart for switching off a machine after it has made 500 glass bottles. use an appropriate conditional statement for this

please hurry i need urgent

Answers

Answer:

Algorithm

1. Begin

2. num_bottles = 0

3. While num_bottles != 500

   3.1 Create bottle

   3.2 num_bottles = num_bottles + 1

4. Switch off machine

5. End

The flowchart has been added as an attachment

Explanation:

Begin algorithm

1. Begin

Initialize bottles to 0

2. num_bottles = 0

Repeat loop until 500 bottles is created

3. While num_bottles != 500

Create a new bottle

  3.1 Create bottle

Increment the number of bottles by 1

  3.2 num_bottles = num_bottles + 1

End Loop

Switch off the machine after loop ends

4. Switch off machine

End algorithm

5. End

very complex type of processing is carried out by a which computer​

Answers

Answer:

hope it helps you

Explanation:

Processing is the “work” being done, in a program. For example, if a program added up a series of a million different numbers in a file, and computed a total, then the computer would be said to be “processing”, during the time where the numbers were being accumulated into a total.

Interestingly though, a computer is also processing “all the time”, that is even when it is at rest. That is because the operating system, (and underlying hardware), are still doing things which can be referred to as processing as well.

For example, the time-clock in a computer is continually updating regardless if there is any other processing going on in a system. This would be termed OS (operating system) level processing

What impact, if any, have advances in technology had on people’s ability to communicate through media? Advances in technology have had no measurable impact on people’s ability to communicate through media. Advances in technology have made it more difficult for people to communicate through media. Advances in technology have made it easier for people to communicate through media. Advances in technology have had made it both easier and more difficult to communicate through media.

Answers

Answer:

What impact, if any, have advances in technology had on people's ability to communicate through media? Advances in technology have made it easier for people to communicate through media.

Answer:

advances in technology made it easier for ppl to communicate through media

Explanation:

because i got it right

Other Questions
Air enters a nozzle steadily at 2.21 kg/m3 and 20 m/s and leaves at 0.762 kg/m3 and 150 m/s. If the inlet area of the nozzle is 60 cm2, determine (a) the mass flow rate through the nozzle, and (b) the exit area of the nozzle 8w + 19 - 4w = -5? What is the value of w? The function f(c)=95c+32 is used to convert temperatures from Celsius, c, to Fahrenheit, f(c). What is the temperature in Fahrenheit when it is 22 Celsius? Round your answer to the nearest integer. A 40 B 54 C 72 D 97 High-Low MethodThe manufacturing costs of Ackerman Industries for the first three months of the year follow: Total Costs Units ProducedJanuary $1,900,000 20,000 unitsFebruary 2,250,000 27,000 March 2,400,000 30,000 Using the high-low method, determine (a) the variable cost per unit and (b) the total fixed cost.a. Variable cost per unit $b. Total fixed cost $ A square has a side length of 36 feet. This square is dilated by a scale factor of 23 to create a new square. What is the side length of the new square? Jackie is the owner of a furniture store. Last year, her total revenue was $500,000 and her total labor costs were $200,000. Her overhead expenses, including insurance and legal fees, were $175,000. The rent on the building was $45,000. Jackie could earn $105,000 per year working at a nearby furniture distributor. From this information, we know that her accounting profit was find the trigonometric ratio tan m multiple choice The part of the atom that carries a negative charge is the _____, and the part that carries a positive charge is the _____. what shows that curriculum integration support democracy The protagonist and antagonist are in conflict with each other. A very long, straight solenoid with a diameter of 3.00 cm is wound with 40 turns of wire per centimeter, and the windings carry a current of 0.235 A. A second coil having N turns and a larger diameter is slipped over the solenoid so that the two are coaxial. The current in the solenoid is ramped down to zero over a period of 0.40 s.Required:a. What average emf is induced in the second coil if it has a diameter of 3.5 cm and N = 7?b. What is the induced emf if the diameter is 7.0 cm and N = 10? Plz help me find x and y on the triangle big thanks Match the change to its definition.Name of change Change condenation gas to solid freezing solid to liquid melting gas to liquid evaporation liquid to gas sublimation solid to gas deposition liquid to solid A meat packaging plant uses a machine that packages chicken livers in six pound portions. A sample of 91 packages of chicken livers has a standard deviation of 0.47. Construct the 98% confidence interval to estimate the standard deviation of the weights of the packages prepared by the machine. Round your answers to two decimal places.Lower endpoint______ Upper endpoint__ 4. How many Syrian refugees has Canada actually admitted since 2013? Explain. Instructions: Make Your own recipe. using imperative formal commands, tell your mom how to make your favorite recipe. Use the image to help with this assignment. Water has a specific heat of 4.186 J/gC, and ethanol has a specific heat of 2.450 J/gC. Based on this information, which best compares water and ethanol? A fire destroyed a large percentage of the financial records of Carter Health System. You have the task of piecing together information to prepare a financial report. You find the profit margin to be 5.4 percent. If sales were $4 million on total assets of $2 million, and the amount of debt financing was $800,000, what was Carter's return on equity (ROE)?a. 21.6%.b. 25.8%.c. 13.8%.d. 18.0%.e. 19.2%. Guillermo's Oil and Lube Company is a service company that offers oil changes and lubrication for automobiles and light trucks. On average, Guillermo has found that a typical oil change takes 24 minutes and 6.2 quarts of oil are used. In June, Guillermo's Oil and Lube had 980 oil changes. Guillermo's Oil and Lube Company provided the following information for the production of oil changes during the month of June: Actual number of oil changes performed: 980 Actual number of direct labor hours worked: 386 Actual rate paid per direct labor hour: $14.50 Standard rate per direct labor hour: $14.00Required:a. Calculate total direct labor variance for oil changes in June?b. Calculate The Direct Labor Rate Variance (LRV) and Direct Labor efficiency variance (LEV) I want to know how to solve this equation