Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Create 03_hw.c #973

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Create 03_hw.c #973

wants to merge 1 commit into from

Conversation

MKGames
Copy link
Contributor

@MKGames MKGames commented Nov 18, 2016

No description provided.

@elsysbot
Copy link
Contributor

Assignment report

Points earned: 0
Maximum points: 20

Task 1: Reverse it [0/5 points]

Reverse array of numbers

Not submitted

Task 2: Read the odds [0/5 points]

Read only odds number

Not submitted

Task 3: Frequency [0/5 points]

Failed compiling

Exit code: 1

Error

03_hw.c: In function ‘main’:
03_hw.c:4:5: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration]
     scanf("%d",&n);
     ^
03_hw.c:4:5: warning: incompatible implicit declaration of built-in function ‘scanf’ [enabled by default]
03_hw.c:11:5: warning: implicit declaration of function ‘fgets’ [-Wimplicit-function-declaration]
     fgets(in,1001,stdin);
     ^
03_hw.c:11:19: error: ‘stdin’ undeclared (first use in this function)
     fgets(in,1001,stdin);
                   ^
03_hw.c:11:19: note: each undeclared identifier is reported only once for each function it appears in
03_hw.c:12:5: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
     for (i=0;i<strlen(in);i++)
     ^
03_hw.c:12:16: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
     for (i=0;i<strlen(in);i++)
                ^
03_hw.c:21:11: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
           printf("%c - ",97+i);
           ^
03_hw.c:21:11: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default]

Task 4: R&D [0/5 points]

Read and Devide

Not submitted

@elsysbot
Copy link
Contributor

Not fully correct. Fix your tasks and submit them.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants