I wanted to ask, I have prepared this code to solve a question, but to provide the correct value Does not seem to be.
Any advice. Any help appreciated Thanks You do not init in Your compiler will warn you about this and will save you the problem of debugging or ask if you just leave it (by Chris @) Includes # lt; Iostream.h & gt; #to & lt include, conio.h & gt; Zero main () {int count; For (int n = 1; n & lt; 125; n ++) (for (a * (m + n + 2) for (int a = 1; a & lt; 125; a ++) (Int m = 1; m & lt; 125; m ++)) == 24 9-m) {cout & lt; & Lt; "A =" & lt; & Lt; A & lt; & Lt; "M =" & lt; & Lt; M & lt; & Lt; "N =" & lt; & Lt; N & lt; & Lt; "\ N"; Count = count + 1; }} Cout & lt; & Lt; "Count =" & lt; & Lt; Count & lt; "\ N"; Getch (); }
count .
int count = 0; Remember to set
No comments:
Post a Comment