subject

Question #3 Dropdown
What type of data is the result of each of the following lines of code?

str(2.34)
O float
O this causes an error
O int
O string

int('2')
O float
O this causes an error
O int
O string

float(2)
O float
O this causes an error
O int
O string

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 03:10
Fill in the following program so that it will correctly calculate the price of the orange juice the user is buying based on the buy one get one sale.#include //main functionint main() { int cartons; float price, total; //prompt user for input information printf("what is the cost of one container of oj in dollars? \n"); scanf(" [ select ] ["%d", "%c", "%f", "%lf"] ", & price); printf("how many containers are you buying? \n"); scanf(" [ select ] ["%d", "%c", "%f", "%lf"] ", & cartons); if ( [ select ] ["cartons / 2", "cartons % 1", "cartons % 2", "cartons % price", "cartons / price", "cartons / total"] [ select ] ["=", "==", "! =", "< =", "> =", "< "] 0) total = [ select ] ["price * cartons", "cartons * price / 2 + price", "(cartons / 2) * price", "cartons / (2.0 * price)", "(cartons / 2.0) * price + price", "((cartons / 2) * price) + price"] ; else total = ((cartons / 2) * price) + price; printf("the total cost is $%.2f.\n", total); return 0; }
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
1. which of the following is not an example of an objective question? a. multiple choice. b. essay. c. true/false. d. matching 2. why is it important to recognize the key word in the essay question? a. it will provide the answer to the essay. b. it will show you a friend's answer. c. it will provide you time to look for the answer. d. it will guide you on which kind of answer is required.
Answers: 1
question
Computers and Technology, 24.06.2019 12:30
Why does the pc send out a broadcast arp prior
Answers: 1
question
Computers and Technology, 25.06.2019 04:30
If you have watched pretty little liars(pll)what are the names of the main characters? all of them and the boyfriends and girlfriends too.
Answers: 2
You know the right answer?
Question #3 Dropdown
What type of data is the result of each of the following lines of code?<...
Questions
question
English, 14.09.2020 07:01
question
Mathematics, 14.09.2020 07:01
question
Mathematics, 14.09.2020 07:01
question
Mathematics, 14.09.2020 07:01
question
Health, 14.09.2020 07:01
question
Mathematics, 14.09.2020 07:01
question
Mathematics, 14.09.2020 07:01
question
Mathematics, 14.09.2020 07:01
question
Mathematics, 14.09.2020 07:01
question
Mathematics, 14.09.2020 07:01
question
Health, 14.09.2020 07:01
question
Social Studies, 14.09.2020 07:01
question
Mathematics, 14.09.2020 07:01
question
Health, 14.09.2020 07:01
question
Health, 14.09.2020 07:01
question
History, 14.09.2020 07:01
question
Mathematics, 14.09.2020 07:01
question
Mathematics, 14.09.2020 07:01
question
Mathematics, 14.09.2020 07:01
question
Health, 14.09.2020 07:01
Questions on the website: 13722367