Computers and Technology

//Display message Module main () // Declare variables Declare real weight Declare real shipping //Get package weight Call getWeight (weight) //Calculate the Shipping Charge Call setShipping (weight, shipping) //Display Shipping Charge Call showShipping (shipping) End Module //Display program Module showing () Display "Calculate Fast Freight Shipping Rates Here." End Module //Receive Input From User Module getWeight (Real Ref inputWeight) Display "Enter package weight:", weight Input Weight End Module //Set Shipping Rates Module setShipping (Real weight, Ref calShipping) If weight > 10 Then Set calcShipping = 3.80 Else If weight > 6 Then Set calcShipping = 3.70 Else If weight > 2 Then Set calcShipping = 2.20 Else Set calcShipping = 1.10 End If End Module //Display shipping charges Module showShipping (Real shipping) Display "Shipping charge: $", shipping End Module

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:00, marvezunderwood
When determining the classification of data, which one of the following is the most important consideration? a. processing systemb. valuec. storage mediad. accessibility
Answers: 2
image
Computers and Technology, 22.06.2019 05:30, xbeatdroperzx
Gerard is currently working as an entry-level customer support technician, but he would like to someday become a software developer. what is the best first step to understand what he should do? ask his manager for a new job or at least a job recommendation study graphic design in order to obtain the necessary skills use career resources to investigate what skills and education are required work part-time as an entry-level web developer question 13 (true/false worth 6 points) (08.03 lc) career resources are used to explore career options and find career information. true false question 14(multiple choice worth 6 points) (08.01 mc) classify the following skills: writing html code, evaluating color theory, using design principles. hard skills interpersonal skills people skills soft skills question 15 (true/false worth 6 points) (08.03 lc) a mentor is a person who is advised, trained, or counseled by a trusted mentee. true false
Answers: 2
image
Computers and Technology, 22.06.2019 06:50, phillipfruge3
Match the personality traits with their description
Answers: 1
image
Computers and Technology, 22.06.2019 21:00, jarrettashlyn
Write a method so that the main() code below can be replaced by the simpler code that calls method original main(): public class calcmiles { public static void main(string [] args) { double milesperhour; double minutestraveled; double hourstraveled; double milestraveled; milesprhour = scnr. nextdouble(); minutestraveled = scnr. nextdouble(); hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; system. out. println("miles: " + milestraveled); } }
Answers: 2
Do you know the correct answer?
//Display message Module main () // Declare variables Declare real weight Declare real shipping //Ge...

Questions in other subjects:

Konu
Mathematics, 28.03.2021 14:00
Konu
Mathematics, 28.03.2021 14:00