# Lab. 12 jobs. Pascal ABC

Affiliates: 0,1 \$how to earn
Sold: 0
Refunds: 0

Content: pascal_3.rar (3,18 kB)

# Seller

RussianMan information about the seller and his items

Seller will give you a gift certificate in the amount of 6,29 RUB for a positive review of the product purchased..

# 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

0
No feedback yet.
 Period 1 month 3 months 12 months 0 0 0 0 0 0
Seller will give you a gift certificate in the amount of 6,29 RUB for a positive review of the product purchased..
In order to counter copyright infringement and property rights, we ask you to immediately inform us at support@plati.market the fact of such violations and to provide us with reliable information confirming your copyrights or rights of ownership. Email must contain your contact information (name, phone number, etc.)