Computers and Technology

Write a program that prints out the results of at least one calculation for each of the basic operations: addition, subtraction, multiplication, division, and exponents.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 25.06.2019 04:30, almaromeroo13
Consider a list of full names formatted “firstname lastname”, like ["jules verne", "alexandre dumas", "maurice druon"]. write a list comprehension that produces a list with the full names in the format “lastname, firstname”. the resulting list should look like ['verne, jules', 'dumas, alexandre', 'druon, maurice']. the simplest solution may involve a nested comprehension: [ …. for … in [ … for … in … ]].
Answers: 3
image
Computers and Technology, 25.06.2019 04:30, richtercatrina16
He 98 pointsss how has computers changed over the years? how can they be used now? give details and such!
Answers: 1
image
Computers and Technology, 25.06.2019 07:00, ChHal1958
Afile named data. txt contains an unknown number of lines, each consisting of a single integer. write some code that creates two files, dataplus. txt and dataminus. txt, and copies all the lines of data1.txt that have positive integers to dataplus. txt, and all the lines of data1.txt that have negative integers to dataminus. txt. zeros are not copied anywhere.
Answers: 2
image
Computers and Technology, 25.06.2019 10:20, howme
(programming exercise 3-10). a retail company must file a monthly sales tax report listing the total sales for the month, and the amount of state and county sales tax collected. the state sales tax rate is 4 percent and the county sales tax rate is 2 percent. design a modular program that asks the user to enter the total sales for the month. from this figure, the application should calculate and display the following: - the amount of county sales tax - the amount of states sales tax - the total sales tax (county plus state) some of the code has already been provided below. complete the missing code below. // global constants for tax calculations constant real county_tax_rate = .02 constant real state_tax_rate = .04 // main module module main() // local variables declare real monthsales, countytax, statetax // get month sales display “enter monthly sales: ” input monthsales // write the statement to calculate county tax // write the statement to calculate state tax // display tax amount call showtaxes(monthsales, countytax, statetax) end module // the showtaxes module accepts monthsales, countytax, statetax // as arguments and displays the resulting data // write the showtaxes module
Answers: 2
Do you know the correct answer?
Write a program that prints out the results of at least one calculation for each of the basic operat...

Questions in other subjects: