# Project #105452 - CMIS 102 Hands-On Lab

Learning Exercises for you to complete

Part 1 Lab

Â

1. Change the C code to calculate the product of two integers as opposed to the sum of two integers. Support your experimentation with a screen capture of executing the new code.

Â

2. Prepare a new test table with at least 3 distinct test cases listing input and expected output for the product of two integers.

Â

3. Change the C code to calculate the quotient (e.g. a/b) of two floats (e.g. 2.3/1.5).Hint: Use float variable types as opposed to integers. What happens if the denominator is 0.0? Support your experimentation with screen captures of executing the new code

Â

4. Prepare a new test table with at least 3 distinct test cases listing input and expected output for the quotient of two floats.

Â

Submission

Â

Submit a neatly organized word (or PDF) document that demonstrates you successfully executed this lab on your machine using an online compiler. You should provide a screen capture of the resulting output.

Â

Also, provide the answers, associated screen captures, C Code and descriptions of your successful completion of learning exercises 1, 2, 3 and 4.

Â

The answers to the learning exercises, screen captures, C code and descriptions can be included in the same neatly organized document you prepared as you ran this lab. Note the code can be embedded in the word document. However; be sure all code compiles and runs perfectly before submitting the document.

Â

Part 2

Â Test Case Creation Using the following pseudocode, provide 3 unique test cases that would help validate your algorithm. Be sure to place the test cases in table showing the input values, and expected output for each test case.

Â

Write "Enter the price in dollars:"

Input Price

Write "Enter state sales tax(e.g. .06) :"

Input SalesTax

Set Price = Price + (Price * SalesTax)

Write "Price with Tax is" + Price

Â

Â

Submit your word or PDF file to your assignments folder no later than the due date.

File:::: https://www.dropbox.com/s/70umivy95mbaptw/Week%202%20Hands-On%20Lab.pdf?dl=0

 Subject Computer Due By (Pacific Time) 01/27/2016 08:00 am
TutorRating
pallavi

Chat Now!

out of 1971 reviews
amosmm

Chat Now!

out of 766 reviews
PhyzKyd

Chat Now!

out of 1164 reviews
rajdeep77

Chat Now!

out of 721 reviews
sctys

Chat Now!

out of 1600 reviews

Chat Now!

out of 770 reviews
topnotcher

Chat Now!

out of 766 reviews
XXXIAO

Chat Now!

out of 680 reviews