Commit b8f1f837 authored by Alan Marchiori's avatar Alan Marchiori
Browse files


parent 61e8fbd5
#include <stdio.h>
int main(void)
int words = 3020;
int lines = 350;
printf("There were %d words and %d lines, that is %lf words per line.\n",
words, lines, (double)words/(double)lines);
if (words > 2000)
printf("you wrote a lot\n");
printf("here is your prize\n");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment