a. Get a value for x from the user.

b. Test to determine if x is positive. If not, tell the user that he or she has made a mistake.

c. Take the cube root of x.

d. Do Steps 1.1, 1.2, and 1.3 x times

Answers

Answer 1

Program (Python):-

[tex]\tt x=int(input("Enter\:your\:number:"))[/tex]

[tex]\tt if \:x<0:[/tex]

[tex]\tt \qquad print("You\:have\:made\: mistake")[/tex]

[tex]\tt else:[/tex]

[tex]\qquad\tt print("Well\:done")[/tex]

[tex]\tt cuberoot=x**1/3[/tex]

[tex]\tt print("Cube\:root=",cuberoot)[/tex]

[tex]\tt for\:i\:in\:range(x):[/tex]

[tex]\qquad\tt print(x)[/tex]

Sample output

Enter your number:-8

You have made mistake

Cuberoot=-2

-8

-8

-8

-8

-8

-8

-8

-8


Related Questions

Which of the following factors is most likely to result in low shipping and handling costs? A higher than average hourly pay rate for material handlers A rare but high-in-demand packaging material A promotion for free shipping on orders over a predetermined order total All of the above​

Answers

Answer: A higher than average hourly pay rate for material handlers

Explanation:

Shipping and handling cost describes costs related to the total cost of an ordered item which are included in the fees used to deliver the item to the buyer. Hence, the correct option is C

Shipping and handling cost usually depend on the size of the item, the buyer's location and fragility of the item purchased.

From the options given, handling and shipping fee may be reduced as a result of free promotional shipping on orders.

Handler and drivers who are paid above average will result in increased shipping fee and rare in-demand items won't come cheap either.

Hence, low shipping fee will most likely be as a result of promotion for free shipping on orders over a predetermined order total.

Learn more : https://brainly.com/question/20533392

You should move around and take a rest for 30 minutes every 5 minutes.

True Or False​

Answers

Answer:

obviously true.........

1. The jargon for navigating on the Internet is called: A. surfing B. selecting C. clicking D. analyzing​

Answers

Answer:

A. surfing

Explanation:

Browsing the internet is known as surfing the internet.

A double-ended queue, or deque, is a data structure consisting of a list of items on which the operations are defined.

a. True
b. False

Answers

Answer:

true

Explanation:

ACTIVITY NI MATCHING TYPE Directions: Match Column A with Column B. Write the letter of the correct answer on the space provided before the number a. Trion your nails b. visits the dentist c. scrub your hands with soap and water d. wear deodorant taking a bath 18111411 hely wear suitable clothes at work g. avoidis open wounds while working with food h. Regularly out your hair. 1. Use a seperate towel or cloth wiping hands. . keep sanitizer. 10.​

Answers

Answer:

Mark me a brainless plss i need that i am blink plss

what are the components of computer system??

Answers

Answer:

1. A motherboard.

2. A Central Processing Unit (CPU)

3. A Graphics Processing Unit (GPU), also known as a video card.

4. Random Access Memory (RAM), also known as volatile memory.

5. Storage: Solid State Drive (SSD) or Hard Disk Drive (HDD)

(Please give me brainliest)

SOME PLEASEE HELP!!
(has to be 4 paragraphs)

Answers

Answer:

Ahhh i wanna help so bad hold on

Explanation:

IT professionals ensure servers connected to the network operate properly. (2 points) True False

Answers

Answer:

True

Explanation:

Thats one of their most important jobs

Give short introduction of profession and make a list of its types. ​

Answers

are you asking for a list of professional jobs or?…..

Identify the following verb by number and person by checking on the appropriate boxes.

SHE WANTS!!


second person
singular
plural
same form for both singular and plural
third person
first person PLEASE HELP!!!!!! LAUNGUAGE ARTS

Answers

second person ig Imao yeah

Answer:

Singular and third person

Explanation:

Second person: this answer is not correct as second person refers to pronouns such as “you, yourself” like in a recipe.

Singular: this is correct as a singular verb is when there is only one subject. You can also tell it’s a singular verb as the present tense ends with a “s”.

Plural: this is not plural because there is only one subject. Plus the present tense of the verb ends with an s so it’s not a plural verb. Plural verb’s present tense never ends with an s.

Third person: this is correct because the subject of the sentence is someone else. Third person pronouns include: “her, she, he, him, they, then” basically, third person is when you talk about someone else.

First person: this answer is not correct because first person refers to one’s self. So first person pronouns are: “I, me, myself”

ctivity 2: irections: Convert the given value to unit asked. 1. 1 tb 2. 500 mb 3. 200 kb 4. 1,000,000 bytes 5. 500 gb mb gb byte gb mb

help please​

Answers

Answer:elab

Explanation:

CPU is also called RAM.
True or false.​

Answers

Answer:

False

Explanation:

RAM works in conjunction with the central processing unit (CPU). If RAM is the temporary memory, you can think of the CPU as the brain of the computer. The CPU chip retrieves data from the RAM

FALSE ...

BECAUSE RAM IS A MEMORY AND CPU IS A UNIT OF COMPUTER THAT'S WHY IT IS FALSE

A field name can be up to 64 characters long

Answers

Answer:

Explanation:

cool ..........................,...............................

Write a program that can add, Subtract, multiply and divide entered numbers.

Answers

In Python:

def add(x, y):

   return x + y

def subtract(x, y):

   return x - y

def multiply(x, y):

   return x * y

def divide(x, y):

  return x / y

Complete the following sentences by either filling in the blank or writing out the rest of the sentence (when there is a … ):

The internet is made up of _________ networks that all connect together to make a ____________ network.

The job of a router on the internet is to…


Clients allow people to…


Servers store _____________________ and send those to _____________ over the internet.


The internet is physically connected across the world using _______________


Computers break up information, like photos and emails, into ________________



The ___________ protocol tells computers how to break up the information and orders it.


The ________________ protocol tells the packets where they are going and where they are coming from.


The packets get to their destination by…


When the packets get to their destination, the __________ protocol…



Computers get the _______________ of servers by asking the ______________



Computers use the _____________ protocol to display a webpage.

Answers

Answer

hundreds,  massive, connect to the internet gigabytes, people, computers,

bytes, TCP/IP, TCP, internet, TCP, answers, questions, HTTP

Explanation:

Which is an example of a demand account

Answers

Answer:  savings account investment account credit account checking account Checking account is an example of a demand account.

What is printed when the following code has been executed?
int x = 15;
int y = 4;
System.out.println((2 * x + y) % x);
15
4
34
2
19

Answers

Hey it is 15 hope this helps

List the steps you would take to create folders/directories in different operating system environments.

Answers

In Linux we use the terminal to create files and folders.

To create a folder:

1. Open a terminal

2. Go to a directory where you want to create the folder

3. Use the change directory command to go to the directory.

4. Use the mkdir command to make a folder

To create a file:

1. Open a terminal

2. Go to a directory where you want to create a file.

3. use the touch command followed by the filename.

Example to create a directory:

mkdir foldername

Example to create a file:

touch file.txt

Answer:

Various operating systems have different ways of creating folders or directories. Here are steps to create folders or directories in some of the most common operating systems.

Windows  

You can create a new folder in Windows by following the two different ways stated below.

These are the steps for creating a new folder through using the File menu.

Open the location where you want to create the new folder.

Then, select the File menu and click New.

Finally, select the Folder option.

These are the steps to create a folder using the right-click method.

Open any location where you want to save your new folder.

Right-click on any blank area of the screen.

This opens a menu. Select New from the menu.

Lastly, from the menu that opens after you select New, and click Folder.

MS-DOS

These are the steps to create directories in MS-DOS.

Click the Start menu.

Click All Programs and then select on Accessories.

Then, select Command Prompt.

Navigate to the location you want to save your new folder. For example, if you want to open the C drive, the command will be: C:

To create a new directory, type mkdir followed by the folder name of your choice. For example, if I want a folder named projects, I will enter the command, “mkdir projects”.

To create multiple new directories in the newly created directed directory, you can use the md MS-DOS command. For example, if you want to make sub-directories named project1, project2, and project three, your command will be md project1 project2 project3.

Mac OS X

There are three ways to create a new folder in the MAC OS X

These are the steps for creating a new folder through using the File menu.

Open any location where you want to save your new folder.

Afterwards, select the File menu and click New Folder

These are the steps to create a folder using the right-click method.

Open any location where you want to save your new folder.

Right-click on any blank area of the screen.

This option opens the folder menu. Select New Folder from the menu.

These are the steps to create directories in Terminal.

Open the Utilities folder. Start the Terminal program.

Navigate to the location where you want to save your new folder.

To create a new directory, type mkdir followed by the folder name of your choice. For example, if I want a folder named projects, I will enter the command, “mkdir projects”.

To create multiple new directories in the newly created directed directory, you can use the -p Terminal command. For example, if you want to make sub-directories named project1, project2, and project three, your command will be -p project1/project2/project3.

Linux

There two ways of creating a new folder in Linux.

These are the steps for creating a new folder using the right-click method.

First, open the file manager.

Then, proceed to the location where you want to save your new folder.

Next, right-click on a blank spot.

Finally, select Create New Folder from the drop down menu.

These are the steps for creating a new folder using Terminal.

Open Terminal by using the Ctrl+Alt+T combination of keys.

To create a new directory, type mkdir followed by the folder name of your choice. For example, if I want a folder named projects, I will enter the command, “mkdir projects”.

To create multiple new directories in the newly created directed directory, you can use the -p Terminal command. For example, if you want to make sub-directories named project1, project2, and project three, your command will be -p project1/project2/project3.

Explanation:

for plato

In order to get the maximum functionality out of a device that is plugged in, a user should download the specific ___ for that device.

Answers

I think the answer they are looking for is drivers. You need to download specific drivers for the device to function to its max potential
the answer to that question is Drivers

phân tích cạnh tranh của cocacola và pepsi

Answers

I don’t understand please speak English

Which of the following expressions in Java is equal to 4?

3% 7
7 % 3
17 % 7
11 % 7
28 % 7

Answers

Answer:

3% 7

Explanation:

because 7 because seven ate nine and three was lonely so seven decided to also eat three and became a lesser number somehow because three apparently was not as big as the number 9 so maybe eating three caused him to go down to 4

The expression "11 % 7" in Java is equal to 4.

The "%" operator calculates the remainder of a division operation.

In Java, the "%" operator is used to calculate the remainder of a division operation.

So, let's evaluate each expression and see which ones equal 4:

3 % 7 = 3 (remainder of dividing 3 by 7)

7 % 3 = 1 (remainder of dividing 7 by 3)

17 % 7 = 3 (remainder of dividing 17 by 7)

11 % 7 = 4 (remainder of dividing 11 by 7)

28 % 7 = 0 (remainder of dividing 28 by 7)

Based on these evaluations, the expression "11 % 7" is equal to 4.

To learn more about programming visit:

https://brainly.com/question/14368396

#SPJ3

explain how communication in fuses management efficiency​

Answers

Explanation:

Effective communication is pivotal in increasing productivity because it directly influences the behavior of the staff and the way they perform. ... That is why it is essential that you practice communicating with your staff. It will improve understanding and, in the result, will elevate productivity and efficiency.



does industry-recognized certifications (microsoft office suite) boost your resume and
increase your earning potential?

Answers

Answer:Having Microsoft Office training can make you more productive, confident, and satisfied with your job. ... Productivity is crucial to success in the administrative assisting field, and your employers will thank you for it. 3. Industry-recognized certification will boost your resume and increase your earning potential.

Explanation: i no it

When you use a library in your code, how do you give attribution?

Answers

When you use a library in your code, you give attribution: by writing the source, title, author and license in your code.

Attribution can be defined as a process which typically involves the citation (reference) of an original source of information such as a library, quote, paraphrase or summary, especially by using the author's full name, source, and job title (position) as the case may be.

In software development, you give attribution when you use a library in your code by writing the following:

The source in your code.The title in your code.The author in your code.The license in your code.

Read more: https://brainly.com/question/21172316

What kind of loop repeats until something else (determined by the program) happens?
iterative number loop
condition-controlled loop
count-controlled loop
forever loop

Answers

Answer:

The Condition-controlled loop

Explanation: Because its called a Condition and it does not stop untill something happens thats why its called "condition".

Answer: It's Condition-controlled loop

Explanation: The meaning of condition-controlled loop is Blocks will keep repeating until a condition is satisfed, Also beacuse I already did the quiz.

Question
What protocol is used to discover the hardware address of a node with a certain IP address?

Answers

Answer:

ARP is a simple query–response packet protocol used to match workstations hardware addresses to IP addresses. In other words, ARP is the protocol used to identify nodes in a LAN. ARP is described in RFC 826

Please answer the following question in Verilog.

To test our functions we will generate a 3-bit vector that counts up by one every cycle which we will use as the inputs to the decoder. The decoder output will then be fed into the inputs of the encoder to produce an inverted version of the original 3-bit test vector. For every input vector you should toggle the enable signal to both the encoder and decoder function which can be easily done by using the clock waveform used to determine when to increment the input vector as the enable signal as well.

Answers

Answer:

345678909 my number

Explanation:

What is the purpose of a computer network needs assessment? to evaluate how to move from the current status to the desired goal to determine what steps employees can take to increase company revenue to analyze which workers need more training to improve their performance to compare worker productivity

Answers

Answer:

to evaluate how to move from the current status to the desired goal

In which of these images would lines become an evaluating factor?

Answers

Answer: The fish?

Explanation:

Answer:

birds in flight  and railroad tracks

Explanation:

i got it right

Hey all! How would you write write this code?

Write a C++ program using variables and loops in order to implement the Hi-Low strategy of card counting and keep a running count. The Hi-Low strategy of card counting assigns one of three values to a card, based on its face value. The table below breaks down these values. FACE VALUE ASSIGNEDVALUE 2, 3, 4, 5, 6 +1 7, 8, 9 0 10, J, Q, K, A -1 In a typical game of Blackjack, a card counter will start with a fresh deck and a count of 0. Each time a card is played, its assigned value is added (or subtracted) from what is known as the running count. The running count rolls over from hand to hand. For instance, if the first 7 cards of a game were: Queen, Jack, 4, 6, 7, Jack, 9, then the running count would be (0) -1 -1 + 1 + 1 + 0 –1 + 0 =-1

Answers

The program is an illustration of loops.

Loops are used to perform repetitive actions.

The program in C++ where comments are used to explain each line, is as follows:

#include <string>

#include <iostream>

using namespace std;

int main(){

   //This declares all variables

   int n, count = 0; string k;

   //This gets input for the number of cards

   cin>>n;

   //The following is repeated n-times

   for(int i = 0;i <n;i++){

       //This gets input for the current card value

       cin>>k;

       //If the card is a digit

       if(isdigit(k[0])){

           //This checks if the card number is between 2 and 6 (inclusive)

           if(stoi(k) >= 2 && stoi(k) <= 6){

               //If yes the face value is increased by 1

               count+=1;

           }

           //This checks if the card number is 10

           else if(stoi(k) == 10){

               //If yes the face value is decreased by 1

               count-=1;

           }

       }

        //This checks if the card number is J, Q, K or A

       else if (k == "J" || k == "Q" || k == "K" || k == "A") {

           //If yes the face value is decreased by 1

           count-=1;

       }

   }

   //This prints the face value

   cout<<count;

   return 0;

}

At the end of the program, the face value is printed.

Read more about similar programs at:

https://brainly.com/question/24578223

Other Questions
Help me with this pls!!! What is the product of 14.5100 answer the equation please Write the names of the Spanish speaking countries indicated by each number. Refer to the maps of Europe, Africa and South America in the textbook. What is the name of the ion with 4 neutrons and 4 electrons with a 1- charge?A: Hydrogen B: BerryliumC: LithiumD: Helium what is deviation of light by prism Match the expression with it's simplified version: why does historian Edward Smith think that the Mall would be the best place for an Adams monument? Use evidence from the text tosupport your answer. The air smelled of coffee.The air was warm.The air smelled strongly.Combine the sentences into one sentence Englands navy increased in power when they A Complete the words in the sentences. 1 Anna is a g person who would give you her last euro. 2 If Jim says he'll help you, he will; he's veryt. 3 Eva is thin now, but she was a very p. baby! 4 That actor isn't talented, but he's popular because he's h 5 Don't panic in a crisis. It's best to stay c 6 She felt very d when she lost her job. 7 Matthew is quite f because he jogs every morning. 8 He became angry and a when the policeman questioned him. 32. Which of the following sentences contain a spelling mistake?- The houses location near the town dump dramatically lowered its value.- After the fire, the furniture store decided to relocate. - The towns stadium was designed by a famous architect.- The industrys problems cannot be blamed solely on current economic conditions.- The staff reductions and pay cuts really hurt moral at the company. Mrs. Blake needs to hire a babysitter. Kelsey charges $6 per hour plus a $5 fee. Lauren charges $4 per hour, plus a $10 fee. Mrs. Blake set up this equation to figure out for what amount of time both babysitters charge the same.6h + 5 = 4h + 10What is the correct sequence of steps to solve Mrs. Blakes equation? A. Subtract 6h from both sides. Subtract 5 from both sides. Divide each side by 2. B. Subtract 4h from both sides. Subtract 5 from both sides. Divide each side by 2. C. Subtract 4h from both sides. Add 5 to both sides. Divide each side by 2. D. Subtract 4h from both sides. Subtract 5 from both sides. Divide each side by 6. these dances have been passed on or handed down from one generation to another which among the choices below is being referred to Choose the correct indefinite pronoun.Est-ce que vous voulez boire? How to factor 3x+3x-36 Which method used to determine numbers of bacteria in a sample involves the preparation of a series of dilutions of the sample in sterile water, adding measured volumes of each dilution to melted nutrient agar plates, making pour plates, incubating, counting colonies, and multiplying colony counts by dilution factors to determine the number of bacteria in the sample Enseanza sobre la pelcula croods 2 The dimension of a cube are 3 x cm, 6xm 7xm. Then find the volume of the cube. What is the slope of the line that passes through the points (4, 10)(4,10) and (1, 10) ?(1,10)? Write your answer in simplest form.