Home
Problems
Exercises
Tests
Reference section
Dictionary
Competitions
Login
Not a member?
Register
Forgotten password
Language
Advertisements
Report a bug !
Add search function to you browser
1 member(s) online
Language:
Pascal
Examples://Code arrange
Write down a program that calculates its factorial N!=1.2.3......N under an initiated positive integer
Write down a program that calculates the sum of reciprocal values of the first N real figures under an initiated l positive integer N
Write down a program that calculates the sum of the second exponents of the first N even figures where N is initiated from the keyboard
Write down a program that initiates a positive integer N<100 and calculates the value of the expression: S=(1+2+...+N)/(1.2.3…N)
Write down a program that initiates a positive integer N<100 and calculates the value of the expression: S=1.2+2.3+3.4...+n(n+1)
Write down a program that initiates a positive integer N<100 and calculates the value of the expression:[br /] S=1[sup]3[/sup]-2[sup]3[/sup]+3[sup]3[/sup]-4[sup]3[/sup]+...n[sup]3[/sup]
Write down a program that initiates a positive integer N<100 and calculates the value of the expression[br /] S=1[sup]2[/sup]-2[sup]2[/sup]+3[sup]2[/sup]-4[sup]2[/sup]+...n[sup]2[/sup]
Let x is real and n >0 – an integer. Write down a program that calculates x[sup]n[/sup]
Write down a program that initiates a positive integer N<100 and calculates the value of the expression[br /] S=N[sup]2[/sup]+(N-1)[sup]2[/sup]+(N-2)[sup]2[/sup]+...+1[sup]2[/sup]
Write down a program that calculates the sum of the whole integers of the interval (m, n) that are divisible to 3
Write down a program that initiates figures from the keyboard until 0 is initiates and finds their sum.
Write down a program that initiates figures from the keyboard until 0 is initiated and finds the product of the positive among them.
Page
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27