Вы находитесь на странице: 1из 7

INFORME DE LABORATORIO DE TECNICAS Y PROGRAMACION

1. INTEGRANTE nombres, apellidos y código.


Victor Lanchipa Gamarra
Código: 2017059299

2. OBJETIVOS
Desarrollar el Seudocódigo.
Traducir el Seudocódigo al programa Borland C++.
Correr el programa

Nombre: Víctor Guillermo Lanchipa Gamarra


Código: 2017059299

RECONOCIMIENTO DEL PROGRAMA:


BARRA TITULO

BARRA DE MENU

BARRA DE
HERRAMIENTAS

CAMPO DE
TRABAJO

BARRA DE
ESTADO
1. Crear un archivo:

Opción File/New/Text Edit.

2. Compilar el programa:

Opción Debug/Run

3. Guardar un archivo

3.1 Opción File/Save As

3.2 Indicar la ubicación física de almacenamiento

3.3 Colocar un nombre al archivo y aceptar.

ESTRUCTURA PARA CREAR UN PROGRAMA.

CIN (leer)

#include<iostream>

COUT (Escribir)

DIRECTIVA

#include<conio.h> GETCH (Pausa de pantalla)

RETURN (Retorna el valor 0 a mi variable)

Apertura del main ()

Programa

//Declarar variable

Cuerpo del //Programa

Programa getch ()

Return 0,

}
EJERCICIO 1
 Seudocódigo
INICIO
LEER p
Ta=p*0.27
Escribir p, ta
Salida

 Diagrama de flujo INICO

P, Ta

TA

Salida

 Archivo
 Imagen

EJERCICIO 2
 Seudocódigo
INICIO
LEER Km
Precio= Km*10.5
Escribir P

 Diagrama de flujo

INICO

Km

Precio= Km*10.5

Precio

Salida
 Archivo

 Imagen
EJERCICIO 3
 Seudocódigo
Inicio
Leer n, hora
n=int (hora/5)
Cp= (hora-n)*1.5
Escribir Cp
Salida

 Diagrama de flujo

INICO

n, Cp

n=int (hora/5)
Cp= (hora-n)*1.5

Cp

Salida

 Archivo
 Imagen

Вам также может понравиться