208 Project 2 Updated

208 Project 2 Updated - Rochester Institute of Technology...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Rochester Institute of Technology Golisano College of Computing and Information Sciences Department of Information Technology 4002-208-01 Page 1 of 2 Fall 20081 4002-208 Introduction to Programming in [C++] Updated Project 2 [changes in yellow] Purpose Project 2 extends Project 1 by allowing more options in the input, validating the input, and printing the time in minutes and seconds when the time is large. The specific requirements are described below. 1. The IP protocol for this project has a packet size of 2385 bytes which includes 45 bytes of overhead for the packet header. If you have correctly used the constants in Project 1, this change should be minimal. 2. Prompt the user to enter the size (as an integer) which must be greater than or equal to 1. If the user enters an invalid value, print an error message which describes the valid input value. Then terminate the program. 3. Prompt the user to enter the units for the size of the file. The user can enter the uppercase letter K for kilobytes or the uppercase letter M for megabytes. If the user
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

208 Project 2 Updated - Rochester Institute of Technology...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online