Вы находитесь на странице: 1из 8

PRACTICAL TASK PROGRAMMING

Submitted To Meet Lecture Practices Programming

Arranged By :

REKA AGUSTIKA
17063106

ELECTRICAL ENGINEERING EDUCATION


PADANG STATE UNIVERSITY
YEAR 2019
A. Understanding Dev C++
Dev-C++ is a free full-featured integrated development environment (IDE) distributed under
the GNU General Public License for programming in C and C++.

.
B. Conculasion Code
Instruksi understanding
Include
Using namesapce std
Int main
Cout
Return
//
While
Do while
If
Else if

For

EXEMPLE PROGRAMMING
Exercise 1 Cout

The Result 2
The Result 1

Conculasion Exercise 1 and 2


Reading the program using cout
Exercise 2 Cout Exercise 3 Result
Exercise 6 Operator

The result 3 Result

Conculasion 3 Result
use to count
Exercise 4 String

The result 6 Operator

Conculasion 6 operator
a nominal or value
The Result 4 string Exercise 7 Rumus Luas Lingkaran

Exercise 5 string

The result 7

The result 5 string

Exercise 8

Conculasion exercise 4 and 5 string


string is used to read text
Exercise 10

The result 8

Exercise 9
The result 10

Exercise 11

The result 11
The result 9
Conculasion 11 The result 13 while
used to determine positive and negative
values
Exercise 12 else if
Exercise 14 while

The result 14 while

Exercise 15 while

The result 12 else if

Conculasion 12
used for value calculation
Exercise 13 while The result 15 while
Exercise 18

Exercise 16 do while

The result 18

Exercise 19

The result 16 do while

The result 19
Exercise 17 do while

Exercise 20
The result 17 do while
The result 22
The result 20

Exercise 23

Exercise 21 jump statements The result 23

Exercise 24

The result 21 jum statements

The result 24
Exercise 22

Exercise 25 abs
The result 25 abs

Exercise 26 ceil floor

The result 26 ciel floor

Вам также может понравиться