- Cell Phones 1983
- Desktop 778
- Editors 281
- Education, Science & Engineering 1156
- Games 1799
- Internet 4911
- Multimedia & Graphics 926
- Office software 749
- PC 403
- Programming 1814
- 1C 112
- ActiveX 3
- Assembler 32
- C# 71
- C/С++ 278
- Data Bases 372
- Delphi/Pascal 489
- Disassemblers 5
- OpenGL/DirectX 5
- PHP 156
- Setup Software 37
- Visual Basic 27
- Others 227

- Security 831
- SEO 316
- Software for Pocket PC 209
- Utilities 1015

# Lab. 12 jobs. Pascal ABC

Refunds: 0

Uploaded:

**25.12.2014**

Content: pascal_3.rar (3,18 kB)

# Seller

RussianMan information about the seller and his itemsSeller will give you a gift certificate in the amount of **6,41** RUB

# 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 |

**6,41 RUB**