Hi,
In the problem 271 (Simply Syntax), the output say "... the list of answers is followed by an end-of-file character." How I can print the EOF character?
Search found 2 matches
- Fri May 03, 2002 3:36 pm
- Forum: Volume 2 (200-299)
- Topic: 271 - Simply Syntax
- Replies: 46
- Views: 19911
- Fri May 03, 2002 2:57 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 318271
Problem 100
Hi,
This is my first mensage... I try to do the problem 100. This is my sourcer, what's the problem with it?
[c]#include <stdio.h>
static int max_clycle(int i, int j)
{
register long n;
int q, max;
max = 0;
if(i == 0) i = 1;
while(j >= i)
{
n = j;
q = 1;
while(n > 1)
{
if(n % 2 ...
This is my first mensage... I try to do the problem 100. This is my sourcer, what's the problem with it?
[c]#include <stdio.h>
static int max_clycle(int i, int j)
{
register long n;
int q, max;
max = 0;
if(i == 0) i = 1;
while(j >= i)
{
n = j;
q = 1;
while(n > 1)
{
if(n % 2 ...