# Comp 122 Lab 5 Lab Report and Source Code Essay

956 Words May 31st, 2016 4 Pages
COMP 122 Lab 5 Lab Report and Source Code
To Buy This material Click below link http://www.uoptutors.com/comp-122/comp-122-lab-5-lab-report-and-source-code COMP 122 Week 5 iLab
Objectives
Apply structured and modular design principles to write programs that meet written specifications and requirements. Develop a pseudo-code design using appropriate program structure (sequence, selection, repetition and nesting) to solve a given programming problem. Use appropriate selection and repetition statements to implement the design. Create user-defined functions to implement a modular design. Use appropriate parameter passing mechanisms for passing data into and getting data back from functions. Use ostream and iomanip formatting manipulators
Assume the user enters correct data, e.g., the start temperature, end temperature and increment are all integers and the ending temperature is greater than the starting temperature.
The formula to convert Celsius to Fahrenheit is
The formula to convert Fahrenheit to Celsius is
Function Requirements
You must create and use the following functions: displayMenu( ) displays a menu. getMenuSelection ( ) gets the menu selection from the user, upper or lower case ‘C’ for Celsius to Fahrenheit, upper or lower case ‘F’ for Fahrenheit to Celsius, and upper or lower case ‘Q’ to quit. Any other input should get an error message “Invalid selection: try again” and re-prompt for the menu selection. getStartEndAndIncrement( ) gets the start, end and increment values for the table from the user. CtoF( ) converts a Celsius temperature to Fahrenheit. FtoC( )converts a Fahrenheit temperatures to Celsius. displayTable( ) displays a C to F or F to C table given start, end and increment values and the conversion character the user selected.
Absolutely NO GLOBAL VARIABLES can be used to implement this program! Any program using global variables will NOT be accepted! Use a switch statement to respond to the user’s menu selection in the getMenuSelection function. After the user selects a valid temperature table option, ask the user to enter start, end, and increment values, then display the

## Related Documents

• ###### Essay Lab Report On The Circuit Lab

Circuit Lab I had recently completed in order to present information to high school students. You need this information by October 4, 2016, in order to talk to students about circuits and increase their interest in technical subjects and the engineering profession on Shadow-an-Engineer-Day on October 17, 2016. For the Circuit Lab, I was asked to use concepts of Ohm’s Law and read/analyze circuit diagrams with common components, then test them on a breadboard. The purpose of this lab report is to provide…

Words: 1403 - Pages: 6
• ###### Essay Lab Report

Kimmi Dodia- Biomedical Science- 1019971 Lab partner- Kim Harcourt Lab report- Experiment 1: Microbial Genetics Abstract The objective of this experiment was to introduce the study of bacterial genetics in order to identify the potency of different mutagenic agents. Our primary aim was to demonstrate the different techniques needed to isolate biosynthetic auxotrophic mutants using chemical, physical and transposon mutagenesis. The second aim was to plan and execute an experiment designed…

Words: 4246 - Pages: 17
• ###### Comp 122 Lab 7 Lab Report and Source Code Essay

COMP 122 Lab 7 Lab Report and Source Code Purchase here http://devrycourse.com/COMP%20122/comp-122-lab-7-lab-report-and-source-code Product Description The focus of this lab is on using strings. You will have an opportunity to work with both C style strings and the string data type. This lab also gives you an opportunity to use what you have learned previously, including using functions, array processing, repetition, and selection. You will also have an opportunity to work with…

Words: 5847 - Pages: 24
• ###### Comp 122 Proactive Tutors / Snaptutorial.Com Essay

COMP 122 Entire Course For more classes visit www.snaptutorial.com COMP 122 Lab 1 Lab Report and Source Code COMP 122 Lab 2 Lab Report and Source Code COMP 122 Lab 3 Lab Report and Source Code COMP 122 Lab 4 Lab Report and Source Code COMP 122 Lab 5 Lab Report and Source Code COMP 122 Lab 6 Lab Report and Source Code COMP 122 Lab 7 Lab Report and Source Code ---------------------------------------------------------- COMP 122 Lab 1 Lab Report and Source Code For more classes visit www…

Words: 1614 - Pages: 7
• ###### Comp122 Lab 6 Lab Report and Source Code Essay

COMP122 LAB 6 LAB REPORT AND SOURCE CODE To purchase this visit following link: http://www.activitymode.com/product/comp122-lab-6-lab-report-and-source-code/ Contact us at: SUPPORT@ACTIVITYMODE.COM COMP122 LAB 6 LAB REPORT AND SOURCE CODE COMP122 Week 6 iLab You are to design a program that will allow some number of grades (up to a max of 100) to be input by the user. After the data has been collected, your program should calculate and output the mean and median of the collected data…

Words: 1634 - Pages: 7
• ###### Essay Lab Report : The Microbiology Lab

Throughout the semester in the microbiology lab we have been taught how to conduct multiple experiments to identify microorganisms. Many of these experiments can be used on all different types of microorganisms but cumulatively they can help isolate a singular microorganism’s identity. At the beginning of the semester we were divided into several groups and were assigned an unknown of which we were tasked with identifying. Being assigned number 14 as our unknown, my group consisting of Chijindu…

Words: 1097 - Pages: 5
• ###### Essay A Lab Group : Lab Report

Capabilities of Ethyl-Methanesulfonate Biology Lab 10501 November 30th, 2016 Lab Group: Drew Garza, Brock Morgan, Christian Chen, Daniel Lee. ABSTRACT INTRODUCTION Mutations are permanent changes in DNA sequence that makes up a certain gene that are caused by environmental factors or when DNA is copied in the replication phase. Mutations can range in various sizes and can affect any part of the DNA sequence. In our lab we dealt with Ethyl Methanesulfonate (EMS) and Sega…

Words: 1017 - Pages: 5
• ###### Essay A Lab Report On Biology

Biology The documents I attached include a lab report, worksheets, notes and one exam. My most memorable experiences in biology were in the lab. I got to test the effectiveness of lactase drops when exposed to solutions containing different pH or temperatures. My results indicated that the lactase enzyme had the optimal catalytic activity at temperatures similar to those found in the human stomach; however, the low pH in the stomach–ranging from 2 to 5– rendered the drops ineffective because the…

Words: 799 - Pages: 4
• ###### Essay on Session 5 Anatomy and Physiology Lab Report

Joints and Body Movements Laszlo Vass, Ed.D. Version 42-0014-00-01 Lab RepoRt assistant This document is not meant to be a substitute for a formal laboratory report. The Lab Report Assistant is simply a summary of the experiment’s questions, diagrams if needed, and data tables that should be addressed in a formal lab report. The intent is to facilitate students’ writing of lab reports by providing this information in an editable file which can be sent to an instructor. Purpose: What is the…

Words: 953 - Pages: 4
• ###### Essay Lab Report On Chemistry Lab

a half years, my scientific writing has developed tremendously through different courses and styles of lab reports. Initially I started off in my undergraduate studies by writing a few biology lab reports in my courses, however chemistry lab reports are not comparable to these lab reports, in which the content and structure are different. Once I got used to writing chemistry style lab reports, the format and style of writing changed again when I reached Quantum Mechanics. As I had taken Quantum…

Words: 1709 - Pages: 7