Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

First homework of new year!!

Name: Anonymous 2010-01-01 23:19

Let X be an integer.

1) Read in integer X from standard input
3) Let Y be X multiplied by 2
4) output "SUSSMAN!!!!!!" Y times

Name: Anonymous 2010-01-01 23:30

#include <stdio.h>

int main ()
{
    int x;
   
    for (scanf("%d", &x); x > 0; x--)
        printf("SUSSMAN\n");
   
    return 0;
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List