Computers and Technology, 06.12.2019 00:31, aubreerosehennessy95
What is the output of the code corresponding to the following pseudocode? (in the answer options, new lines are separated by commas.)
declare x as integer
declare y as integer
for (x = 1; x < =2; x++)
for (y = 3; y < = 4; y++)
write x * y
end for(y)
end for(x)
a. 3, 4, 6, 8b. none of these are correct outputc. 4, 5, 5, 6d. 1, 3, 2, 4
Answers: 1
Computers and Technology, 23.06.2019 03:10, nxusasmangaliso8780
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
Computers and Technology, 24.06.2019 11:00, maddiiie128
Why is it uncommon for users to perform searches directly in database tables? a.)users are discouraged from interacting directly with tables because they might confuse tables with spreadsheets. b.) users are discouraged from interacting directly with tables because this may result in unintended changes to source data. c.)users do not have the technical skills required to perform searches directly in database tables. d.)users do not have the permissions required to perform searches directly in database tables.
Answers: 1
What is the output of the code corresponding to the following pseudocode? (in the answer options, n...
Mathematics, 03.11.2020 01:00
Biology, 03.11.2020 01:00
Mathematics, 03.11.2020 01:00
Mathematics, 03.11.2020 01:00
Mathematics, 03.11.2020 01:00
Mathematics, 03.11.2020 01:00
Biology, 03.11.2020 01:00