Answered step by step
Verified Expert Solution
Question
1 Approved Answer
COSC 1 3 3 6 SP 2 4 Lab 2 Focus Input, Process, Output B Python syntax Data types Simple calculations Formatting output This lab
COSC SP Lab
Focus
Input, Process, Output
B Python syntax
Data types
Simple calculations
Formatting output
This lab maps to learning objectives and for Competency Two: Design and Code a Simple Program that Uses Variables and Performs Calculations
Design a Solution LO
This refers to the competency module learning objective covered by this activity
For this portion of the lab, you will design the solution to a simple program that uses sequential statements that is the basic requirement. For advanced students, I encourage you to use loops, functions, ifelse a menu etc... You may draw a flowchart or write pseudocode. If you draw a flowchart, you will scan the drawing and submit it as a pdf or jpeg file. Design a solution to the following problem:
Your cousin is visiting from England and it is getting very annoying for you to constantly convert US measures to metric measures. After all, only of the world uses the metric system. Using your programming prowess, you decide to write him a program that will perform the necessary conversions. The program design will convert ALL measurements But, wait, someone once told you that "hours of planning can save you weeks of programming." Keeping that in mind, you will first design a program that performs the following conversions:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started