FTP | CCD | Buscar | Trucos | Trabajo | Foros |
#1
|
|||
|
|||
Ayuda
Hola bueno en el colegio me pidieron hacer un programa que me pidiera valores y me de resultado eso creo ya esta bien , bueno tambien me pidieron que hciiera una parte donde me de el valor de 3 lados y me ponga que tipo d etraingulo es si equilatero , isoceles o escaleno , bueno es ahi donde tengo mi error espero me puedan ayudar anexo el codigo para ver si voy bien :
|
#2
|
||||
|
||||
Hola Givanti.
Si te fijas, se te ha olvidado poner un "punto y coma" (semicolon en inglés) en la línea anterior. El resto del código parece estar bien, aunque sólo lo he leído por encima. ¡Y sé bienvenido al maravilloso mundo de la programación! |
#3
|
||||
|
||||
Saludos Última edición por delphi.com.ar fecha: 02-02-2010 a las 15:40:31. Razón: Corrección de las etiquetas |
#4
|
||||
|
||||
Aparte de eso, yo añadiría allgun paréntesis más a esa línea, para clarificar la prioridad de las operaciones.
__________________
Germán Estévez => Web/Blog Guía de estilo, Guía alternativa Utiliza TAG's en tus mensajes. Contactar con el Clubdelphi P.D: Más tiempo dedicado a la pregunta=Mejores respuestas. |
#5
|
|||
|
|||
Por la forma de poner los IF yo creo que le falta un ELSE,
y estoy de acuerdo con Neftali que debería utilizar algún paréntesis más, porque además de funcionar, también ha de ser fácilmente revisable. Un saludo,
__________________
Rafita. |
#6
|
||||
|
||||
Tambien te recomiendo que mires http://www.clubdelphi.com/foros/guiaestilo.php, para facilitar el recibir ayuda en el futuro.
Es siempre mejor ser muy concreto en el titulo del hilo. "Ayuda" es muy abierto "Error de compilacion" todavia es muy abierto "Saca error 'missing operator semicolon'" y tienes un 10!
__________________
El malabarista. |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Ayuda para la ayuda | maxvera | Varios | 4 | 12-05-2007 20:13:44 |
Instalar Ayuda (.HLP) en la Ayuda de Delphi? | MasterXP | Varios | 6 | 12-04-2006 06:57:49 |
Ayuda para crear ayuda... | Gabriel2 | Varios | 2 | 10-06-2005 00:15:18 |
ayuda con strtofloat, ayuda punto flotante | TURING | Varios | 5 | 30-04-2004 08:03:59 |
Ayuda Con Instalacion De Archivos De Ayuda | Legolas | Varios | 1 | 01-12-2003 14:48:03 |
|