- Cell Phones 1450
- Desktop 740
- Editors 244
- Education, Science & Engineering 1367
- Games 2850
- Internet 4433
- Multimedia & Graphics 1115
- Office software 726
- PC 483
- Programming 2051
- 1C 141
- ActiveX 3
- Assembler 30
- C# 123
- C/С++ 274
- Data Bases 512
- Delphi/Pascal 499
- Disassemblers 6
- OpenGL/DirectX 5
- PHP 162
- Setup Software 27
- Visual Basic 24
- Others 245

- Security 1195
- SEO 294
- Software for Pocket PC 182
- Utilities 1215

# Lab. 12 jobs. Pascal ABC

Uploaded:

**25.12.2014**

Content: pascal_3.rar 3,18 kB

## Seller

iKoltcov information about the seller and his itemsSeller will give you a gift certificate in the amount of **0.10** $

## Product description

1Dany 3 different real numbers X, Y, Z. If their amount is less than 1, then the least of them to replace half the sum of the other two, otherwise replace the smallest of X and Y half the sum of the remaining two.

2 Given real numbers X, Y. If X, Y- negative, then replace it with the value of each unit; if negative, only one of them, then both values \u200b\u200bincreased by 0.5; If both values \u200b\u200bare negative and none of them belongs to the interval [0.5,2], both values \u200b\u200bdecrease by 10 times; otherwise X and Y remain unchanged.

3 Determine in what quarter of the coordinate plane hit the point with coordinates (X, Y). Variable N assign a number to a quarter. If you hit a point at the origin, then N = 0. If you hit a point on the axis or the printed message on it.

4 shows the number of A1, B1, C1, A2, B2, C2. Print the coordinates of the points of intersection of lines: A1x + B1y = C1 and A2x + B2y = C2, or to announce that these lines are the same, do not overlap or nonexistent.

5 are given real numbers A, B, C, D, S, T, U (S, T are not simultaneously zero). Determine whether the points are (A, B) and (C, D) on the straight line given by the equation Sx + Ty + U = 0. If not, find out whether they belong to different half-planes.

6 For an integer k from 1 to 99 to print the phrase "For years I", taking into account that for certain values, to the word "years" must be replaced by the word "year" or "year".

7 Given real numbers x, y, z. Get the difference between the highest and lowest of these numbers.

8 Given the natural numbers A, B, C, which indicate the date, month and year. Get three numbers corresponding to the next day.

9 are given three numbers A1, B1, C1 and A2, B2, C2, which represent the two dates. Calculate the number of days between these dates.

10 are given three numbers A1, B1, C1 and A2, B2, C2, which represent the two dates. Calculate the number of full years between these dates.

11 Given the number of A, B, C, which indicate the date. Determine the number of days that have passed since the beginning of the year.

12 Write a program that introduces a number of AD and prints the name of eogo staroyaponskomu calendar. In staroyaponskom calendar year were the names of animals: rat, cow, tiger, rabbit, dragon, snake, horse, sheep, monkey, chicken, dog and pig. (1984 - the year of the green rat was the beginning of the next cycle).

## Feedback

0Period | |||

1 month | 3 months | 12 months | |

0 | 0 | 0 | |

0 | 0 | 0 |

**0.10 $**