Jump to content

Para Üstünü Geri Verme Programı


Recommended Posts

arkadaşlar benim bi ödevim var ve bunun için sizden yardım istiyorum. İlk önce verilen ödevinmin konusu para üstünü veren program yazmamı istedi hocam mesala bi oyucak 1tl ile çalışıyorsa kişi buna  5 tl attıysa ve bunun para üstünü verecek programı istedi benden bunu nasıl yapa bilirim yardımcı olursanız sevinirim teşekkürler şimdiden 

Link to comment
Share on other sites

$OYUNCAK = InputBox("Para Üstü Hesaplayacam Sana Pampa","Oyuncak Kaç TL?","","")
$PARA = InputBox("Para Üstü Hesaplayacam Sana Pampa","Kaç TL Para Verdiler?","","")
If number ($OYUNCAK )> number ($PARA) Then
    MsgBox(16,"Akıl Var Mantık Var","Adam Eksik Vermiş")
    Exit
EndIf
MsgBox(64,"Bak Şimdi Nasıl Hesaplıyom",$PARA - $OYUNCAK & " TL Para Üstü Vereceksin Reyiz")

 

number ekleyince sorun kalkıyor :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...