Boletos - $"+precio¶ total ← total + precio...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Start total ← 0 contA ← 0 contN ← 0 contI ← 0 "Tipo de boleto" GET tipo tipo = "A" precio ← 120 contA ← contA + 1 tipo = "N" precio ← 75 contN ← contN + 1 precio ← 60 contI ← contI + 1 No Yes No Yes PUT " Precio
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: $"+precio¶ total ← total + precio "otra vez" GET resp resp = "n" End Yes No Loop Programa que vende boletos para un parque de diversiones. Vende los boletos de 1 en 1....
View Full Document

This note was uploaded on 04/26/2008 for the course HISTORY 101 taught by Professor Mario during the Spring '08 term at American College of Gastroenterology.

Ask a homework question - tutors are online