Answered step by step
Verified Expert Solution
Link Copied!

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 1336 SP 24 Lab 2
Focus
Input, Process, Output
B Python syntax
Data types
Simple calculations
Formatting output
This lab maps to learning objectives 1,2,3,4,5,6, and 7 for Competency Two: Design and Code a Simple Program that Uses Variables and Performs Calculations
Design a Solution (LO 1.1,1.2)
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, if/else, 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 95% 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 5 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:
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learn To Program Databases With Visual Basic 6

Authors: John Smiley

1st Edition

1902745035, 978-1902745039

More Books

Students also viewed these Databases questions

Question

=+b. The federal government increases spending on national defense.

Answered: 1 week ago

Question

What does stickiest refer to in regard to social media

Answered: 1 week ago

Question

=+ a. What is the per-worker production function?

Answered: 1 week ago