3. Read three real numbers a1, a2, a3 and three natural numbers p1, p2, p3. Calculate the weighted arithmetic mean of the numbers a1, a2, a3, with weights p1, p2, p3.
Author: Dumitrana Lavinia Victoria | Code: #101 | Easy
4. A car is moving with uniform acceleration on a straight highway, following the speed law v= v0 + a*t, where v0 is the initial speed, "a" is the acceleration of the motion, and "v" is the speed at time "t". Task: read the values for v0, "a", and "t" from the keyboard and display the speed value "v" at a given time.
6. Determine and display all numbers formed from 10 digits (only with 1, 2, 3) with the condition that any two neighboring digits have a difference in absolute value of 1.
7.. A Great Dane ran n laps around a tennis court with standard dimensions: 23.77m x 8.23m. What distance did he cover? Hint. Pay attention to the perimeter. Only the number of laps, noted with n, is read from the keyboard.