Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Alan_Zhu
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alan Zhu
Alan_Zhu
Commits
546177a3
There was an error fetching the commit references. Please try again later.
Commit
546177a3
authored
6 years ago
by
Alan Zhu
Browse files
Options
Downloads
Patches
Plain Diff
counting for
parent
735c06a8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Merge_Exercise/counting_FOR.c
+11
-0
11 additions, 0 deletions
Merge_Exercise/counting_FOR.c
with
11 additions
and
0 deletions
Merge_Exercise/counting_FOR.c
0 → 100755
+
11
−
0
View file @
546177a3
#include
<stdio.h>
int
main
()
{
//Please write a while loop to count 1 to 10, and print out every number one per line.
for
(
unsigned
int
i
=
1
;
i
<=
10
;
i
++
)
{
printf
(
"%d
\n
"
,
i
);
}
return
0
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment