Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
sameis
/
IAX0583
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4f4bf076
authored
Oct 10, 2017
by
sameis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tund6
parent
7a744cea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
0 deletions
PR6/PR6_2
PR6/PR6_2.c
PR6/PR6_2.o
PR6/PR6_2
0 → 100755
View file @
4f4bf076
File added
PR6/PR6_2.c
0 → 100644
View file @
4f4bf076
#include <stdio.h>
int
main
(
void
)
{
long
int
Nr
,
Tul
;
int
Len
=
100
;
int
Oct
[
Len
];
int
i
=
1
,
j
;
printf
(
"Sisesta kymnendarv: "
);
scanf
(
"%ld"
,
&
Nr
);
Tul
=
Nr
;
while
(
Tul
!=
0
)
{
Oct
[
i
++
]
=
Tul
%
8
;
Tul
=
Tul
/
8
;
}
for
(
j
=
i
-
1
;
j
>
0
;
j
--
)
printf
(
"%d"
,
Oct
[
j
]);
return
0
;
}
PR6/PR6_2.o
0 → 100644
View file @
4f4bf076
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment