Question and Answers Forum | ||
Question Number 190285 by Abdullahrussell last updated on 31/Mar/23 | ||
![]() | ||
Commented by ARUNG_Brandon_MBU last updated on 31/Mar/23 | ||
#include <stdio.h> int main(void) { unsigned int a, b; for (a = 100; a<1000; a++) { for (b = 300; b<1000; b++) { if (1001*a+1 == b*b) goto loopend; } } loopend: printf ("a = %u, b = %u", a, b); return 0; } | ||
Commented by ARUNG_Brandon_MBU last updated on 31/Mar/23 | ||
Output: a = 183, b = 428 | ||
Commented by ARUNG_Brandon_MBU last updated on 31/Mar/23 | ||
Sorry! plaintext can only be written as comments not answers. | ||
Commented by Rasheed.Sindhi last updated on 01/Apr/23 | ||
However you can write your solution as an 'Answer' in the following way: Empty answer +comment consisting plain text. | ||
Commented by ARUNG_Brandon_MBU last updated on 01/Apr/23 | ||
���� ThAnKs | ||
Answered by talminator2856792 last updated on 31/Mar/23 | ||
![]() | ||
| ||