Which line of code will only allow a non-decimal point to be stored in a variable? candyCost = float(input("How much is the candy?")) candyCost = input("How much is the candy?") candyCost = int(input("How much is the candy?")) candyCost = str(input("How much is the candy?"))

Answers

Answer 1

Answer:

candyCost = int(input("How much is the candy?"))

Explanation:


Related Questions

A(n) _____ describes your core values and highest career goals. A. résumé B. objective statement C. qualifications profile D. personal mission statement

Answers

Answer: D.) Personal Mission Statement

Explanation: The personal mission statement refers to a write up which is usually written by an individual and it's tailored to embody one's complete definition in terms of core values, skills, attributes and most importantly present and future desires, goals and objectives. The statement of purpose is usually detailed and will showcase where an individual is currently placed while also showcasing how he or she intends to achieve future aspiration.

Answer:

The answer would be D.) Personal Mission Statement (APEX)

Identify at least five different Information Technology careers that you could pursue in your home state, and choose the three that appeal to you
the most. Out of the three, write a one-page essay describing which one would be your career choice and the educational pathway that you would
have to follow in order to obtain that career. Finally, identify at least three colleges, universities, or training programs that are suited to that career
choice. You can use the following resources to help you:​

Answers

Answer:Five careers within the Information Technology cluster that would be interesting to me are video game designer, software developer, database administrator, computer science teacher, and business intelligence analyst. Of those careers, being a video game designer, software developer, or business intelligence analyst sounds the most appealing to me. Out of all those choices, I think that being a business intelligence analyst seems the most interesting.

Business intelligence analysts work with computer database information, keeping it updated at all times. They provide technical support when needed and analyze the market and customer data. At times, they need to work with customers to answer any questions that they have or fix things as needed. The part that I would find most interesting would be collecting intelligence data from reports for the company for which I work. To complete the job, I would need to have great customer service skills, communication skills, critical thinking skills, and knowledge of computers.

Before I could find work as a business intelligence analyst, I would need to complete a bachelor’s degree in computer science to learn how to do computer programming and use other applications that I would need to know for the job. Some of the schools that have a great program for computer science are the University of California at Berkeley, Georgia Institute of Technology, and California Institute of Technology. Once I have completed a bachelor’s degree, I would continue on to get a master’s degree in the field, which would help me advance in my career and get promotions.

Explanation:

Write the program code to find the cube of numbers from 1-5. Also do the dry run by using the trace table. (Javascript)

Answers

Answer:

Following are the JavaScript program

< html >

< body >

<  script >

var k,t; // variable declaration

for (k = 1; i < 6; k++)  // iterating the loop

{  

t=k*k*k;// find the cube of number

document.write(k);   // display the cube root

document.write(" < / br > " );  // moves to the next line

}

< / script >

< / body >

< / html >

Output:

1

8

27

64

125

Explanation:

We used the script tag for creating the JavaScript program. Declared the variable "k" in the script tag.Iterating the for loop .In the for loop the k variable is initialized by the 1 This loop is executed less then 6 .In each iteration we find the cube of number in the "t" variable and display that number by using document .write ().

Other Questions
divide and simplify x^2+7x+12 over x+3 divided by x-1 over x+4 Find sin angle C. A. 12/13B. 1 C. 13/12D. 13/5 story "Winter Dreams by F. Scott Fitzgerald.Part A"Winter Dreams" explores the aspirations of Dexter Green Analyze this character and state whether he is dynamic or static. Cite textual evidenceto support your answer The elements least likely to form bonds are found in which group? Booker T. Washington and W. E. B. Du Bois were:O A. United in their fight against segregation.B. Both strong believers in the idea of the "talented tenth."C. Strong defenders of the Back-to-Africa movement.D. Against segregation, but they disagreed on the best way to fight it. according to newtons second law of motion, what is equal to the acceleration of an object Why did bilbo take the arken stone? What where his feelings when he took it? Use the interactive to graph a line with the given points: (1,7) and (1,1) The coordinates of the y-intercept of the line are. What is one main impediment to regional economic integration? identical political ideologies reduced immigration loss of national sovereignty lack of popular support difficult international policies Find the product of (x 3)2 Resolve into factors:2p(p-1)-p+1 Many of the tales from 1001 Nights can be traced to _____. the Middle East South America the Far East Western Europe Which example is most likely made from both metals and gemstones?Necklace Soda canWidow frame Kitchen utensils -Frederick Douglas, from Narrative of the Life ofThe pathway from slavery to freedom" that Frederick Douglas speaks of in this excerpt refers toa. the Underground Railroad.b. voting rights.d. hard work.C.education The transformation from the function f(x)=3x to the function f(x) 3x-8 Which of the following equations describes the line shown below? Check allthat apply -Famous Leaders of the Late Middle Ages: Be sure to describe their greatest achievement. -Hugh Capet: -King Ferdinand and Queen Isabella: -Joan of Arc: Jayden is running laps at track practice. The track is 25 kilometers around. Jayden runs 1 lap in 2 minutes. How many minutes does it take Jayden to run 1 kilometer? Math 7th grade. help please!!! Do you think a luxury brand can ever be called good value? Explain your answeryes like sometimes because in quality or the design and Makes something good.