<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ideawaza.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=98.196.0.0%2F16</id>
	<title>IdeaWazaWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://ideawaza.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=98.196.0.0%2F16"/>
	<link rel="alternate" type="text/html" href="https://ideawaza.com/wiki/Special:Contributions/98.196.0.0/16"/>
	<updated>2026-09-29T18:09:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://ideawaza.com/index.php?title=Archive:Turbo_Pascal_help&amp;diff=38220</id>
		<title>Archive:Turbo Pascal help</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Archive:Turbo_Pascal_help&amp;diff=38220"/>
		<updated>2007-10-23T22:19:53Z</updated>

		<summary type="html">&lt;p&gt;98.196.206.181: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is dedicated to helping Turbo Pascal 7 or 3.1 (for Windows) Programmers.&lt;br /&gt;
To post questions, just go into edit and post them.&lt;br /&gt;
They will be answered.&lt;br /&gt;
&lt;br /&gt;
Click on the link below to go to my page and edit and paste the questions there or edit and paste your questions here.&lt;br /&gt;
&lt;br /&gt;
[[User:Drnoitall.hello|Drnoitall.hello]] 02:52, 20 March 2007 (UTC)Drnoitall.hello&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Questions Here:&lt;br /&gt;
i wrote this program for my programmin class and i cannot figure out why i keep receiving the same error message&lt;br /&gt;
i get the error 4 duplicate identifier for the variable &amp;quot;triangle&amp;quot; which is a string.&lt;br /&gt;
&lt;br /&gt;
program triangle;&lt;br /&gt;
&lt;br /&gt;
uses crt;&lt;br /&gt;
&lt;br /&gt;
const&lt;br /&gt;
skip=&#039; &#039;;&lt;br /&gt;
&lt;br /&gt;
var&lt;br /&gt;
side1:integer;&lt;br /&gt;
side2:integer;&lt;br /&gt;
side3:integer;&lt;br /&gt;
triangle:string;&lt;br /&gt;
&lt;br /&gt;
begin&lt;br /&gt;
   clrscr;&lt;br /&gt;
   writeln(&#039;Enter first side: &#039;);&lt;br /&gt;
   readln(side1);&lt;br /&gt;
   writeln(&#039;Enter second side: &#039;);&lt;br /&gt;
   readln(side2);&lt;br /&gt;
   writeln(&#039;Enter longest side(if applicable): &#039;);&lt;br /&gt;
   readln(side3);&lt;br /&gt;
   if (side1=side2) or (side2=side3) or (side1=side3) then&lt;br /&gt;
   triangle:=&#039;isosceles&#039;&lt;br /&gt;
   else&lt;br /&gt;
       if (side1&amp;lt;&amp;gt;side2) and (side2&amp;lt;&amp;gt;side3) and (side3&amp;lt;&amp;gt;side1) then&lt;br /&gt;
       triangle:=&#039;scalene&#039;&lt;br /&gt;
       else&lt;br /&gt;
           if (side1=side2) and (side2=side3) then&lt;br /&gt;
           triangle:=&#039;equilateral&#039;;&lt;br /&gt;
   writeln(&#039;The triangle is &#039;,traingle);&lt;br /&gt;
   if (triangle=&#039;isosceles&#039;) and (sqr(side1)+sqr(side2)=sqr(side3)) then&lt;br /&gt;
   writeln(&#039;The triangle is also a right triangle.&#039;)&lt;br /&gt;
   else&lt;br /&gt;
       writeln(&#039;The triangle is not a right triangle.&#039;);&lt;br /&gt;
   if (triangle=&#039;scalene&#039;) and (sqr(side1)+sqr(side2)=sqr(side3)) then&lt;br /&gt;
   writeln(&#039;the triangle is also a right triangle.&#039;)&lt;br /&gt;
   else&lt;br /&gt;
       writeln(&#039;the triangle is not a right triangle.&#039;);&lt;br /&gt;
&lt;br /&gt;
   readln;&lt;br /&gt;
end.&lt;br /&gt;
&lt;br /&gt;
[[Category:Help desks]]&lt;br /&gt;
[[Category:Pascal]]&lt;br /&gt;
[[Category:Programming]]&lt;/div&gt;</summary>
		<author><name>98.196.206.181</name></author>
	</entry>
</feed>