S
S
Slava042020-12-22 20:42:48
Pascal
Slava04, 2020-12-22 20:42:48

How to implement a program in Pascal that makes two 2-digit ones from one 4-digit one?

Who can tell how to implement a program that makes two 2-digit numbers from one 4-digit number. For example 6587 => 65 87

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-12-22
@Slava04

a:=6587;
b:= a div 100;//65
c:= a mod 100;//87

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question