Hello ppl;
I have some problems about pascal programing, i know it's a old language, but in my country we re using it in schools, i got 4 exercises. And i really don't know how to reslove it.
1.Write a program in turbo pascal in which u must enter a string and after that the program must every character write in a new line.
Example, input: TURBO
Example, output:
T
U
R
B
O
2.Write a program who will enter a natural number N and a array of N natural numbers and a natural number A.The program must create and print out a new array who is consisting only with elements which are inputed by the array who are smaller then A.
Example, input: 5
5 7 8 3 1
6
Example, output: 5 3 1
2007-11-18
10:50:33
·
1 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design