Өгөгдсөн хоёр натурл тоо харилцан анхны тоонууд мөн үү?

‪#‎include‬<stdio.h>
#include <conio.h>
void main ()
{int m,n,k=1,q=1;
printf ("n,m=");
scanf ("%d%d",&n,&m);
do k++; while ((k<=n/2)&&(n%k!=0));
if (k>n/2) printf ("%d too anhny too mun",n);
else printf ("%d too anhny too bish",n);
do q++; while ((k<=m/2)&&(m%q!=0));
if (q>m/2) printf ("%d too anhny too mun",m);
else printf ("%d too anhny too bish",m);
getch ();
}

Comments

  1. gaihaltai gaihaltai unxeer mundag shuu!!!!
    tand amjilt husie unnnnxer mundag bna
    ene page buur yanziin

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Lucky Club Online Casino: £10 no deposit bonus
    Join Lucky Club today to get £10 no deposit bonus. Play slots, table games and more for fun. 카지노사이트luckclub 18+ Only. Wagering Requirements: Min £5. Max £10.

    ReplyDelete

Post a Comment