Notes
Notes - notes.io |
#include <stdlib.h>
int main()
{
int but1,but2,but3,but6,but7,but4,but5;
int button_sag, button_sol;
int yuzler=9,onlar=9,ondabir=9,yuzdebir=9;
char nokta;
float para=0;
para=(yuzler*10)+(onlar)+(ondabir*0.1)+(yuzdebir*0.01);
printf("-----------%.2fn",para);
int yirmilik = (int)(para/20.00);
printf("n%d - yirmililik ------n",yirmilik);
float kalan = (float)yirmilik*20 ;
para = para-kalan;
printf("-----------%.2fnn", para) ;
//3 saniye delay
int onluk = (int)(para / 10.00 );
printf("%d - onluk-------n",onluk);
float sonuc_o = (float)onluk*10 ;
para = para-sonuc_o;
printf("-----------%.2fnn", para) ;
//3 saniye delay
int beslik = (int)(para / (float)5) ;
printf("%d - beslik-------n",beslik);
float sonuc_b = (float)beslik*5 ;
para = para-sonuc_b ;
printf("-----------%.2fnn", para) ;
//3 saniye delay
int birlik = (int)(para / (float)1) ;
printf("%d - birlik-------n", birlik) ;
float sonuc_bl = (float)birlik*1;
para = para-sonuc_bl ;
printf("-----------%.2fnn", para) ;
//3 saniye delay
int yarimlik = (int)(para / 0.50) ;
printf("%d - yarimlik-------n", yarimlik) ;
float sonuc_50kr = (float)yarimlik*0.50;
para=para-sonuc_50kr;
printf("-----------%.2fnn", para) ;
//3 saniye delay
int ceyreklik = (int)(para/ 0.25) ;
printf("%d - ceyreklik-------n", ceyreklik) ;
float sonuc_25Kr = (float)ceyreklik*0.25;
para=para-sonuc_25Kr;
printf("-----------%.2fnn", para) ;
//3 saniye delay
int metelik = (int)(para/ 0.10) ;
printf("%d - metelik-------n", metelik) ;
float sonuc_10Kr = (float)metelik*0.10;
para=para-sonuc_10Kr;
printf("-----------%.2fnn", para) ;
//3 saniye delay
int delik = (int)(para/0.05) ;
printf("%d - delik-------n", delik);
float sonuc_5Kr = (float)delik*0.05;
para=para-sonuc_5Kr;
printf("-----------%.2fnn", para) ;
//3 saniye delay
int kurusluk = (int)(para/0.01) ;
printf("%d - kurusluk-------n", kurusluk) ;
}
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team