I want to write a batch program to stress the CPU for temperature checking (using an IR gun) that does something like this in an xwindows terminal window (to keep things simple):-
Calculate 22 divided by 7 to e.g, 10 places then display the result then do it again x times where x can be modified by editing the batch program.
I would prefer a simple loop that 61-year-old kids like me can follow:-
for n=1 to x
22 /7 (display the result to 10 places in the terminal window)