Programa Mdc - Pascal

  • August 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Programa Mdc - Pascal as PDF for free.

More details

  • Words: 52
  • Pages: 1
Exemplo de programa desenvolvido em pascal que retorna o mdc entre 2 nĂºmeros.

program MDC var p, q, r : integer; begin writeln('Valores: '); readln(p, q); r := p mod q; while (r<>0) do begin p := q; q := r; r := p mod q; end; writeln('MMC = ', q); end.

Related Documents

Programa Mdc - Pascal
August 2019 1
Programa In Pascal
November 2019 1
Mdc
July 2020 5
Pascal
November 2019 47
Pascal
October 2019 35
Pascal
November 2019 37