- Cell Phones 1981
- Desktop 786
- Editors 278
- Education, Science & Engineering 1068
- Games 1709
- Internet 5173
- Multimedia & Graphics 922
- Office software 793
- PC 415
- Programming 1803
- 1C 111
- ActiveX 5
- Assembler 32
- C# 60
- C/С++ 277
- Data Bases 364
- Delphi/Pascal 486
- Disassemblers 6
- OpenGL/DirectX 5
- PHP 154
- Setup Software 37
- Visual Basic 27
- Others 239

- Security 808
- SEO 313
- Software for Pocket PC 219
- Utilities 900

# 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 **5,73** 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 |

**5,73 RUB**