{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

COS120HomeWork_1

# COS120HomeWork_1 - Page 1 of 2 COS120 Software Development...

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

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 129cf6367be7293bd524d2db4a75cc62f808e73f.doc Page 1 of 2 COS120 Software Development Using C++ Homework 1 Elementary Skills in Programming Don’t forget: Paper record to be presented before the end of next class Tasks: Version 1.4 • Write a program that reads and stores the coordinates (X,Y) in Cartesian Coordinate System of two points. The program should print the distance between these points. Comment lines to be inserted. • The triangular numbers are those resulting from the sum of the first n whole numbers. So the first four are:1; 3 (= 1 + 2); 6 (= 1 + 2 + 3) and 10 (= 1 + 2 + 3 + 4). Write a program that reads integer value and displays all triangular numbers between 1 and the input integer value. Comment lines to be inserted. Hint: Write appropriate number of comment lines. Prepare, P lease the paper record using the following template for the header page: COS120 Software Development Using C++ Student: Ivalina Petrova Homework Nmr 01 Tasks: • Write a program that reads and stores the coordinates (X,Y)...
View Full Document

{[ snackBarMessage ]}

### Page1 / 2

COS120HomeWork_1 - Page 1 of 2 COS120 Software Development...

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

View Full Document
Ask a homework question - tutors are online