This website works better with JavaScript.
Home
Help
Sign In
tmeissner
/
learning-by-doing
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
change loop range for simpler processing
master
T. Meissner
9 years ago
parent
b5defb8e32
commit
6c300d5acb
1 changed files
with
4 additions
and
4 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-4
c_primer_plus/chapter06/04.c
+ 4
- 4
c_primer_plus/chapter06/04.c
View File
@ -4,13 +4,13 @@
int
main
(
void
)
{
int
main
(
void
)
{
unsigned
char
letter
=
'
A
'
;
char
letter
=
'
A
'
;
for
(
unsigned
char
i
=
0
;
i
<
6
;
i
+
+
)
{
for
(
unsigned
char
j
=
letter
;
j
<
=
(
letter
+
i
)
;
j
+
+
)
{
for
(
char
i
=
1
;
i
<
=
6
;
i
+
+
)
{
for
(
char
j
=
letter
;
j
<
(
letter
+
i
)
;
j
+
+
)
{
printf
(
"
%c
"
,
j
)
;
printf
(
"
%c
"
,
j
)
;
}
}
letter
+
=
(
i
+
1
)
;
letter
+
=
i
;
printf
(
"
\n
"
)
;
printf
(
"
\n
"
)
;
}
}
Write
Preview
Loading…
Cancel
Save