anyone please help me to
create an array of random data on as many as 20 data that appears on the screen,
For example:

random data

20
10
3
2
4
5
7
8
9
4
1
2
23
12
34
12
15
12
16
30

then the data is sorted using bubleshort,

data sorting

are sorted is random data

and make search data using binary search,

if you want to find data (Y / N)? if "Y" then

enter the number you are looking for the data =

then bring up the screen data sought

if not found
data not found
want to find any more data? (Y / n)

if "Y"
enter the number you are looking for the data =

then bring up the screen data

if "N"
Close;

pascal programming
anyone who can help me, I will give RDP account 30 days.

thank you who answered correctly

Recommended Answers

All 3 Replies

Sounds like a homework assignment. It also sounds like you didn't read this sticky or the Daniweb rules

No one uses Pascal any more (mostly) unless they are using Niklas Wirth's (the author of Pascal and Modula) text books. I think the latest editions have migrated to Java (not sure about that).

No one uses Pascal any more

I was thinking about that when I saw Jim's post about homework. It appears to be homework to me too. I can see PASCAL potentially being used occasionally to handle some legacy code written in PASCAL, but even that seems far-fetched by now. Why on Earth would anyone teach PASCAL to new students? OP, what school do you go to (again, assuming homework)?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.