TIB: Division Program... hum


[Prev][Next][Index][Thread]

TIB: Division Program... hum




Hi All !
Ok, it was a stupid question. I did it. I'm a beginner in Basic
programming. Could you give me some tips to reduce the size
of the program ?
Thanks !

:ClLCD
:Disp "Dividende"
:Input A
:Disp "Diviseur"
:Input B
:A/B/->/C
:iPart C/->/D
:D*B/->/C
:A-C/->/R
:Outpt (6,1,"Quotient :"
:Outpt (7,1,"Reste    :"
:Outpt (6,12,D
:Outpt (7,12,R

P.S.: Thanks Matthew for your help.

Brice-Olivier Demory - http://www.skylink-astro.net/pagepers/demory
_________________________________________________________
Location : 46d10m30s North / 6d09m23s East // Alt.: 413 m.
Responsable-animateur du club d'astronomie Helios - Hte-Savoie (F)


Follow-Ups: