0% found this document useful (0 votes)
213 views11 pages

C Programming Problem Solving Guide

The document discusses programming in C including data types, variables, operators, and precedence. It provides examples of code using integers, floats, addition, subtraction, multiplication, division, and parentheses.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
213 views11 pages

C Programming Problem Solving Guide

The document discusses programming in C including data types, variables, operators, and precedence. It provides examples of code using integers, floats, addition, subtraction, multiplication, division, and parentheses.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Problem Solving Through

Programming in C
Week 2
Presented by:
Abdul Bakey Mir

Software
← →

Software AH-licatiwusottwe.ir#

I
1intE
a

-
ippeicase a a -11 ;

-

ca
_

Camel Case
q
Camel Case
-

Enemtm7-keywood-i.int# main
Hbo y

ᵈ☒ ; float
int a
;
int double
int⑤ P④
digits

i•;;*"ñ"•
"
language

f
Common

✓ ✗ language
int ⑤ ;

÷
digit
↓ letters alphabets
consist
only of ,

1intC and underscore .

variable
to start your
integer
a
; you have
. .

anundenc-
?⃝
=
ltn.at#f-s-=-.--h@
Q
-

T.EE?i


10
a =
;
⑨=¥
*at
'
taint 7C "%d
"

a) → to
¥ "
,
:

in¥ E 1i ° :
'° "
a-
=

"
int

a=i③É
inte :


a
=iI#±
°
I
a
= % = ② Go
.it
↳ air
13%5+9%-5

(__-)f"±g?
int fhelloc )
" Precedence

I
¥ÉÉ¥m*→
j.EE#s-TE-4-- }
✓ ☆
2*4+9
17 19
4*51-2+9
• + e-
→ ;

4*-512+9
BI

¥< +7=190+9--49
9=7.0 .

(
'
5)
"
↳* a +

+1T
( 35-1*(7-0)
output
'
-

(13-5)-77>-0
The
+ to

=

V. N
2.57.0710 .

14-01-10
'

24^0

int a
; 1inthelh;J
float a
; integer hello; ✓
}
H=I • ☒
Tf
-

✓ b

aft
F-a

You might also like