Find the output
#include
int magic(int a){
return a* (a+1)* (2*a+1);
}
int main() {
int i=0, n=100, count=0;
while(i
if (magic(i)%3==0) {
count++;
3
i++;
}
printf("%d", count);
return 0;
3
Answers
Answered by
0
Answer:
age limit candidates age should be a
Similar questions