<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ifigenia.org/index.php?action=history&amp;feed=atom&amp;title=User_talk%3AVassia_Atanassova</id>
	<title>User talk:Vassia Atanassova - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ifigenia.org/index.php?action=history&amp;feed=atom&amp;title=User_talk%3AVassia_Atanassova"/>
	<link rel="alternate" type="text/html" href="https://ifigenia.org/index.php?title=User_talk:Vassia_Atanassova&amp;action=history"/>
	<updated>2026-05-24T23:28:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://ifigenia.org/index.php?title=User_talk:Vassia_Atanassova&amp;diff=10401&amp;oldid=prev</id>
		<title>Vassia Atanassova: Created page with &quot;&lt;syntaxhighlight lang=&quot;c&quot; line=&#039;line&#039;&gt; #include&lt;stdio.h&gt; int main() { 	int n, i, j, a, b, minMultiple, lcm, r; 	printf(&quot;enter n value:&quot;);           scanf(&quot;%d&quot;, &amp;n);...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ifigenia.org/index.php?title=User_talk:Vassia_Atanassova&amp;diff=10401&amp;oldid=prev"/>
		<updated>2020-04-09T15:22:38Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;syntaxhighlight lang=&amp;quot;c&amp;quot; line=&amp;#039;line&amp;#039;&amp;gt; #include&amp;lt;stdio.h&amp;gt; int main() { 	int n, i, j, a, b, minMultiple, lcm, r; 	printf(&amp;quot;enter n value:&amp;quot;);           scanf(&amp;quot;%d&amp;quot;, &amp;amp;n);...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;c&amp;quot; line=&amp;#039;line&amp;#039;&amp;gt;&lt;br /&gt;
#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
	int n, i, j, a, b, minMultiple, lcm, r;&lt;br /&gt;
	printf(&amp;quot;enter n value:&amp;quot;);&lt;br /&gt;
          scanf(&amp;quot;%d&amp;quot;, &amp;amp;n);&lt;br /&gt;
          printf(&amp;quot;Classical Pairs:&amp;quot;);&lt;br /&gt;
    for(i=2; i&amp;lt;n; i++)&lt;br /&gt;
    {&lt;br /&gt;
    for(j=i+1; j&amp;lt;n; j++)&lt;br /&gt;
    {&lt;br /&gt;
          a = i;&lt;br /&gt;
	b = j;&lt;br /&gt;
	    // maximum number between a and b is stored in minMultiple&lt;br /&gt;
	minMultiple = (a&amp;gt;b) ? a : b;&lt;br /&gt;
  	    // Always true&lt;br /&gt;
        while(1)&lt;br /&gt;
        {&lt;br /&gt;
        if (minMultiple%a==0 &amp;amp;&amp;amp; minMultiple%b==0)&lt;br /&gt;
        {&lt;br /&gt;
                 //lCM of the two numbers will be stored in minmultiple&lt;br /&gt;
            lcm = minMultiple;&lt;br /&gt;
            r = (lcm%n);&lt;br /&gt;
  	  if( r == 0 )&lt;br /&gt;
  		{&lt;br /&gt;
  		   printf(&amp;quot;{%d,%d},&amp;quot;,a,b);&lt;br /&gt;
   		 }&lt;br /&gt;
            break;&lt;br /&gt;
        }&lt;br /&gt;
        ++minMultiple;&lt;br /&gt;
        }&lt;br /&gt;
	}	&lt;br /&gt;
	}&lt;br /&gt;
return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vassia Atanassova</name></author>
	</entry>
</feed>