Q;Write a program which reads a sequence of characters.
Assume that there are exactly two asterisks (*) in the sequence.
Your program should display the number of characters between these asterisks.
Asterisks will not be counted.
|
Q: Write a program which reads 10 integers. The
program should find and display the integer which is closest to 50.
|
Q : In the context of
a) Write the necessary Pascal statements to calculate and display the value of the following mathematical expression:
a:=ord(37 div 3 mod 4 <=2) * 5.3 + 20*3/4/5; A: 8.3 |