Assignment 1

Assignment 1 - 1. Change the framing program so that it...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Page | 1 Assignment 1 CSC1254/1, Fall 2011 A SSIGNMENT 1, CSC1254/1, F ALL 2011 Introduction to Programming with C++ II, Hartmut Kaiser Due: Tuesday, September 13, 2011 Submitted electronically: before 12:00 PM Accepted late: before September 2 nd , 12:00PM: -15% before September 3 rd , 12:00PM: -30% Please submit each of the tasks below as a separate file, named task1.cpp , task2.cpp , etc. Create all of these files inside a new sub-directory called prog1 . All files will have to be submitted in one step by invoking the submission command as described in the document ‘Submitting homework (Assignment 1, Appendix)’ available from the homepage.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1. Change the framing program so that it writes its greeting with no separation from the frame ( task1.cpp ).. 2. Write a program to generate the product of the numbers in the range [1, 10) ( task2.cpp ). 3. Write a program that asks the user to enter two numbers and tells the user which number is larger than the other ( task3.cpp ). 4. Write a program to compute and print the quartiles (that is, the quarter of the numbers with the largest values, the next highest quarter, and so on) of a set of integers ( task4.cpp ). All of the programs have to be compilable and, when run, should do the expected things. Each task is worth 25% of the overall grade for this homework....
View Full Document

This note was uploaded on 12/29/2011 for the course CSC 1254 taught by Professor Blanks,l during the Fall '08 term at LSU.

Ask a homework question - tutors are online