ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 2 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 12 May 2017 My Price 9.00

Lab Exercise 3Focus1. Boolean expressions

How to get started with this code (Part B of attachment)

What I know and have started is that I have to define the persons name, length of employement, how many sales they've made this month, and how many vacation days they've take. I've gotten that far. Im stuck on the rest. What I do know about the rest, is that there will be alot of if and functions

 

Lab Exercise 3Focus1. Boolean expressions and operators2. Simple and Nested if-else structuresThis lab maps to learning objectives 1, 2, and 3 for Competency Three - Write a Working Programthat Uses Decision Structures and Boolean Logic Including the If, If-Else, If-Elif-ElseControl StructurePart A: Building upon an Existing SolutionFor this portion of the lab you will design the solution so that you perform some conditional tests.For this lab:1. You will validate input to ensure that the user enters inputs within a certain range or largerthan a certain minimum value. You will validate the inputs as follows:(LO 1, 2, 3)a. The user cannot enter a negative number for:i.Miles to kilometersii.Gallons to litersiii.Pounds to kilogramsiv.Inches to centimetersb. The user cannot enter a value above 1000 degrees for Fahrenheit to Celsius(LO1)2. If the user enters an invalid value, then the program will issue an error message andterminate immediately. (Do NOT accept further data).3. Save the program as firstname_lastname_Lab3a.py where you will replace firstname andlastname with your actual first and last name.4. Test all conditions prior to submitting.Part B: Write Something New!Write a complete and syntactically correct Python program to solve the following problem:You are the payroll manager for SoftwarePirates Inc. You have been charged with writing apackage that calculates the monthly paycheck for the salespeople. Salespeople at

Attachments:

Answers

(11)
Status NEW Posted 12 May 2017 04:05 AM My Price 9.00

-----------

Not Rated(0)