-
Notifications
You must be signed in to change notification settings - Fork 0
/
25-OBEB Hesaplama 1.Yöntem.fprg
32 lines (32 loc) · 1.55 KB
/
25-OBEB Hesaplama 1.Yöntem.fprg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0"?>
<flowgorithm fileversion="3.0">
<attributes>
<attribute name="name" value=""/>
<attribute name="authors" value="husey"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2023-08-24 04:17:37 ÖS"/>
<attribute name="created" value="aHVzZXk7SMWhU0VZSU47MjAyMy0wOC0yNDswNDoxMzoxNSDDllM7Mjc5NA=="/>
<attribute name="edited" value="aHVzZXk7SMWhU0VZSU47MjAyMy0wOC0yNDswNDoxNzozNyDDllM7MTsyOTEw"/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="sayi1, sayi2" type="Integer" array="False" size=""/>
<output expression=""lütfen OBEB hesaplanmasını istediğiniz 1. sayıyı giriniz."" newline="True"/>
<input variable="sayi1"/>
<output expression=""Lütfen OBEB hesaplanmasını istediğiniz 2. sayıyı giriniz."" newline="True"/>
<input variable="sayi2"/>
<while expression="sayi1 <> sayi2">
<if expression="sayi1 > sayi2">
<then>
<assign variable="sayi1" expression="sayi1 - sayi2"/>
</then>
<else>
<assign variable="sayi2" expression="sayi2 - sayi1"/>
</else>
</if>
</while>
<output expression=""OBEB: " & sayi2" newline="True"/>
</body>
</function>
</flowgorithm>