Bu örnekte kullanıcıdan bir ürünün alış ve satış fiyatını aldıktan sonra ürünün Kar-Zarar yüzdesini hesaplayıp sonucu ekrana yazdıracağız.
namespace KarZararYuzdeHesaplama
{
class Program
{
static void Main(string[] args)
{
float kar_zarar;
Console.Write("Ürün fiyatını giriniz: ");
float alis_fiyat = Convert.ToInt32(Console.ReadLine());
Console.Write("Satış fiyatını giriniz: ");
float satis_fiyat = Convert.ToInt32(Console.ReadLine());
if(satis_fiyat > alis_fiyat)
{
kar_zarar = (satis_fiyat - alis_fiyat) * (100 / alis_fiyat);
Console.WriteLine("Kar Oranı = %" + kar_zarar);
}
else if(alis_fiyat > satis_fiyat)
{
kar_zarar = (alis_fiyat - satis_fiyat) * (100 / alis_fiyat);
Console.WriteLine("Zarar Oranı = %" + kar_zarar);
}
else
{
Console.WriteLine("Ürün alış fiyatına satılmıştır !!!");
}
Console.ReadLine();
}
}
}
İlk olarak kullanıcıdan ürünün satış ve alış fiyatını alıyoruz. Satış fiyatı, alış fiyatından fazlaysa ürün kar ile satılmıştır.
Alış fiyatı, satış fiyatından fazlaysa da ürün zarar ile satılmıştır.
Zarar miktarını hesaplarken satış fiyatından alış fiyatını çıkartarak ürünün kaç TL zarar ile satıldığını buluyoruz. Daha sonra da bu zarar miktarının alış fiyatının yüzde kaçı olduğunu buluyoruz.
Detaylı anlatım için C# Yüzde Hesaplama örneğini inceleyebilirsiniz.
Böylece zarar yüzdesini hesaplamış oluyoruz. Kar yüzdesini hesaplarken de aynı işlemleri yapıyoruz.
Kodun ekran çıktısı şu şekildedir:
243 Yorum
I?¦ve recently started a website, the information you provide on this website has helped me greatly. Thank you for all of your time & work.
order tricor sale tricor 160mg pill order tricor 200mg for sale
buy ketotifen no prescription how to buy imipramine buy imipramine
buy tadalafil 20mg for sale viagra brand buy viagra 50mg without prescription
buy acarbose paypal buy generic prandin 1mg griseofulvin 250 mg tablet
purchase minoxytop solution buy minoxidil solution for sale best over the counter ed pills
wonderful issues altogether, you just received a brand new reader. What might you recommend in regards to your publish that you just made some days ago? Any sure?
cost aspirin imiquimod brand zovirax online
dipyridamole brand pravastatin 20mg canada pravachol 10mg canada
buy melatonin 3mg for sale norethindrone 5mg price cost danocrine 100mg
fludrocortisone generic buy generic bisacodyl 5 mg buy imodium paypal
pill dydrogesterone sitagliptin ca order generic jardiance 25mg
prasugrel 10mg for sale thorazine order order tolterodine 1mg sale
buy monograph paypal order generic colospa 135 mg where to buy cilostazol without a prescription
ferrous 100mg cost ascorbic acid over the counter sotalol cheap
vasotec 10mg uk cost doxazosin buy duphalac
purchase pyridostigmine generic order rizatriptan maxalt 10mg price
betahistine 16 mg price buy benemid 500 mg sale probenecid us
cheap zovirax how to buy xalatan exelon for sale
purchase prilosec pills buy lopressor buy lopressor for sale
premarin without prescription order generic premarin cheap viagra pill
order generic micardis 20mg molnunat 200mg for sale movfor price
cenforce tablet cenforce brand aralen 250mg over the counter
cialis pills 5mg purchase cialis for sale buy sildenafil 50mg online
buy generic omnicef online order prevacid pills buy generic prevacid online
order provigil 200mg sale promethazine price brand deltasone 40mg
isotretinoin 10mg price accutane order buy zithromax cheap
generic lipitor 10mg proventil 100 mcg canada order norvasc for sale
order generic azipro buy cheap azithromycin order gabapentin without prescription
purchase protonix online cheap purchase phenazopyridine sale how to get pyridium without a prescription
real money spins online empire casino online furosemide 100mg drug
blackjack for money doxycycline brand ventolin 4mg usa
buy amantadine 100 mg pill purchase atenolol generic order dapsone 100 mg generic
wind creek casino online games free slot games online ivermectin for sale
live casino slots online oral levothyroxine levothroid order online
where can i buy methylprednisolone nifedipine ca buy aristocort 4mg online cheap
buy clomid 100mg online generic isosorbide 40mg imuran usa
order vardenafil 10mg zanaflex usa tizanidine 2mg sale
aceon where to buy oral clarinex 5mg allegra 180mg without prescription
order claritin pill where to buy priligy without a prescription buy dapoxetine sale
baclofen order online buy lioresal online ketorolac where to buy
buy generic lioresal toradol uk generic ketorolac
glimepiride 4mg uk order generic misoprostol order generic arcoxia
buy alendronate order colchicine pill nitrofurantoin price
buy inderal 20mg online order inderal sale clopidogrel tablet
order nortriptyline 25mg anacin order acetaminophen 500 mg for sale
xenical cheap diltiazem us order diltiazem without prescription
warfarin us reglan ca brand reglan 10mg
azelastine price buy acyclovir 400mg generic irbesartan online
buy pepcid 20mg without prescription prograf 5mg oral buy prograf 5mg generic
buy nexium no prescription buy generic topamax 100mg topamax 200mg sale
zyloprim buy online order allopurinol 300mg pill crestor cost
order imitrex oral imitrex 50mg avodart 0.5mg sale
order buspirone 5mg buspirone 10mg without prescription amiodarone 200mg ca
buy zantac 150mg pill cheap zantac 150mg celebrex online
buy domperidone 10mg online coreg 6.25mg oral buy sumycin 500mg online
edit letter college essay writing help paperwriter
spironolactone 25mg ca order aldactone 100mg for sale order finasteride 5mg without prescription
aurogra 50mg canada aurogra 50mg pill estradiol 1mg tablet
purchase fluconazole online cheap purchase diflucan generic cipro 500mg tablet
buy lamictal 200mg sale order minipress 2mg sale where can i buy vermox
buy metronidazole 400mg generic buy cephalexin 500mg without prescription keflex 125mg brand
retin gel cheap buy tretinoin cream for sale avana pill
order cleocin 300mg sale buy erythromycin cheap brand sildenafil
buy tadalafil indocin usa indocin order
tamoxifen 10mg canada symbicort uk oral symbicort
where to buy ceftin without a prescription buy generic lumigan buy robaxin without a prescription
lamisil 250mg canada terbinafine buy online online casino games
buying a term paper where to buy suprax without a prescription oral suprax 200mg
my future essay writing online casino game free spins no deposit casino
oral amoxicillin 250mg order trimox pills buy biaxin 250mg generic
brand calcitriol 0.25 mg buy rocaltrol online buy tricor sale
clonidine over the counter order generic meclizine cost tiotropium bromide 9mcg
popular prescription acne medication oxcarbazepine 600mg us order generic trileptal 600mg
purchase minomycin online cheap purchase terazosin pill requip 2mg cheap
how to buy alfuzosin uroxatral 10mg oral antacid prescription drug names
letrozole 2.5 mg brand order letrozole 2.5mg pills order aripiprazole 20mg without prescription
sleeping pills to buy online topical dutasteride for hair loss virtual weight loss doctor
buy provera 10mg without prescription order medroxyprogesterone 5mg generic hydrochlorothiazide for sale
prescription medications for smoking cessation pain medications online pharmacies online doctor consultation pain prescription
periactin 4mg sale buy ketoconazole without prescription how to buy nizoral
buy herpes pills lowest cost maintenance asthma inhalers anti diabetic given to paedes
duloxetine 40mg brand glucotrol 10mg for sale order modafinil 200mg generic
fungus clear customer reviews single dose antifungal alpha 2 adrenergic agonist examples
buy generic phenergan buy ed pills gb buy ivermectin 3 mg for humans
best otc for peptic ulcer do stomach ulcers heal themselves how to get rid of a uti in 24 hours
buy deltasone without prescription buy amoxil 500mg pill buy amoxicillin 1000mg online
cheap birth control pills brands birth control shipped to door doctor for premature ejaculation
Cos’e un Bitcoin Digger: Cryptocurrency 2018 peru farmacia americana classadrivers forum trucking-schools 70747-ivermectina-costi-ivermectina-generico-cosa-serve.html#post569735 Paga Bitcoin: Valuta virtuale 2018 Piacenza Your cart is empty. We spreken ook van internet apotheek of ecomprare alprazolam senza ricetta alprazolam tipo di ricetta legit alprxanax online senza ricetta Quartu Sant’Elena, prezzo xanax 1 mg, farmaci perxanax e genericixanax prezzo 1 mgACQUISTA xanax Compra ora Compra xanax spedizione durante laXanax senza ricetta Archivialprazolam, lormetazepam, temazepam, triazolam, brotizolam, etizolam). L’emivitaOrdine Di Soldi Piu Economico alprazolam Europaxanax basso costo senza prescrizione ordinare xanax online con
https://zzb.bz/Bk1Rv
Benvenuto } La scienza ha fatto passi da gigante nel trattamento di questa patologia, sia dal punto di vista farmaceutico che da quello psicologico. Da un lato, l’industria farmaceutica continua con il suo lavoro di ricerca, produzione e commercializzazione di medicinali sicuri per il paziente, diminuendo così i rischi ed aumentando l’efficacia, sia nel controllo delle patologie prodotte dalla disfunzione erettile (disturbi di metabolismo, deficit ormonali, diabete, ipertensione etc.) sia nel controllo diretto della qualità dell’erezione del paziente dopo aver assunto i farmaci, diluiti o applicati direttamente sul pene. Purtroppo pare che la disfunzione erettile sia figlia dei tempi moderni, spesso da attribuire a stress, ritmi troppo incalzanti, inquinamento elettromagnetico, alimentazione scorretta, troppo ricca di grassi.
azithromycin where to buy order azithromycin 500mg sale gabapentin 100mg uk
Some truly marvelous work on behalf of the owner of this internet site, dead outstanding subject material.
best highly rated ppis anti nausea medication non prescription buy scented fart pills
order urso cetirizine sale purchase zyrtec
strattera price order strattera 10mg online cheap buy zoloft 100mg for sale
order lasix 100mg without prescription order doxycycline 200mg pill buy albuterol without a prescription
order lexapro 10mg without prescription order naltrexone 50 mg online naltrexone 50mg uk
amoxiclav drug purchase levothyroxine generic order clomid 100mg online
combivent 100mcg without prescription order ipratropium 100mcg for sale buy linezolid pills
levitra medication order tizanidine online cheap order generic hydroxychloroquine 200mg
nateglinide 120mg canada atacand order online candesartan pills
cenforce order online order glucophage 1000mg for sale glucophage online order
purchase tegretol pill generic ciprofloxacin 500mg buy lincocin 500mg pill
I am lucky that I observed this website, precisely the right info that I was searching for! .
order atorvastatin 40mg generic buy zestril online cheap buy lisinopril paypal
duricef buy online order ascorbic acid 500mg pill lamivudine oral
buy cabergoline 0.5mg without prescription priligy 60mg tablet dapoxetine generic
buy methylprednisolone without prescription buy methylprednisolone pills for sale clarinex canada
misoprostol usa purchase cytotec generic diltiazem pills
purchase nootropil order betamethasone 20gm online buy anafranil 50mg generic
order zovirax 400mg online zovirax canada rosuvastatin usa
order itraconazole 100mg online sporanox pill tinidazole without prescription
zetia pills ezetimibe canada order tetracycline 500mg online
olanzapine 10mg cheap valsartan order buy generic diovan
flexeril buy online order flexeril pill order toradol 10mg online cheap
colcrys 0.5mg uk clopidogrel 75mg over the counter methotrexate price
salicylic acid versus benzoyl peroxide purchase retino-a online cheap best acne treatment teenage guys
top rated pill for itching ventolin 2mg for sale best cold medicine without antihistamine
Impressed, I’ve progressed this far with this gripping narrative, thanks so much to the author!
Congratulations on your incredible gift for writing! Your article is an engaging and enlightening read. Wishing you a New Year full of achievements and happiness!
acidity tablet name list perindopril sale
sleep meds prescribed online buy promethazine generic
prednisone 5mg ca prednisone pills
medications that make you nauseous order allopurinol 300mg online
prescription medication for blackheads order generic retin cream acne medication pills from dermatologist
antihistamine nasal spray canada albuterol inhaler generic allergy medication list
best medication for stomqch cramps buy pepcid 40mg sale
sleeping pills by price buy modafinil 100mg for sale
amoxil 1000mg usa buy amoxicillin sale buy generic amoxicillin
buy generic azithromycin purchase azithromycin azithromycin 250mg generic
order gabapentin 600mg pills gabapentin cost
generic azipro 250mg oral azipro order azipro sale
buy furosemide generic buy furosemide for sale diuretic
buy prednisolone tablets buy prednisolone 10mg without prescription buy prednisolone 10mg online
deltasone tablet buy prednisone 10mg
amoxicillin price amoxil 1000mg without prescription buy amoxicillin generic
vibra-tabs online doxycycline 200mg for sale
buy antihistamine pills onlin buy ventolin 2mg for sale buy ventolin 4mg for sale
order levothroid online cheap buy levoxyl sale order synthroid 150mcg sale
levitra for sale order vardenafil 20mg
buy serophene sale buy clomiphene without prescription buy serophene
zanaflex sale tizanidine canada tizanidine 2mg canada
buy rybelsus 14mg sale purchase semaglutide without prescription buy rybelsus 14mg without prescription
prednisone pills deltasone price deltasone 40mg brand
Do you have a newsletter I can subscribe to for updates?
Incredibly unique take on this subject! I haven’t encountered anything like this before.
rybelsus 14mg cheap buy rybelsus 14mg buy generic rybelsus
You have a forward-thinking perspective that’s really impressive.
buy isotretinoin pills for sale order isotretinoin generic accutane 20mg uk
buy albuterol online cheap oral albuterol purchase ventolin sale
cheap amoxicillin pills amoxil online buy where to buy amoxil without a prescription
buy augmentin 1000mg generic clavulanate cost order augmentin 375mg
azithromycin for sale order zithromax 250mg generic buy azithromycin medication
synthroid 100mcg brand synthroid 75mcg us purchase levothyroxine pill
order omnacortil 5mg generic order omnacortil generic omnacortil 10mg sale
clomid 50mg pill clomid 50mg over the counter clomid 50mg price
order neurontin 800mg pill buy neurontin sale buy gabapentin 100mg generic
lasix 40mg sale buy furosemide tablets order furosemide 100mg pill
This is one of the most comprehensive articles I’ve read on this topic. Kudos!
sildenafil usa sildenafil 100mg cost sildenafil 50mg price
This is a brilliant piece of writing. You’ve nailed it perfectly!
You’ve presented a complex topic in a clear and engaging way. Bravo!
Thank you for the hard work you put into this post. It’s much appreciated!
Thank you for adding value to the conversation with your insights.
Stop by Guest Services on your next trip with your valid state-issued photo ID to register for the Presque Isle Downs Players Club and begin taking advantage of the incredible benefits right now. Membership is free! When a new online slot game is launched, many casinos will feature a free play deal with a set number of spins for members. This is a great way to try a title before using real money. Learn more about free slots. Seminole Hard Rock Hotel & Casino Tampa blends luxurious amenities with 24 hours of live-action gaming to create pure harmony. Featuring two AAA Four-Diamond rated hotel towers, our rooms and suites were designed for the rock royalty lifestyle. Whether your visit is for business or pleasure, our unparalleled ambiance brings dreams to reality through award-winning dining, the revitalizing Rock Spa & Salon, a variety of shows in our Event Center and poolside parties in the beautiful Florida sun.
https://raymondjbqz098877.theisblog.com/21222135/marvelcasino
Disclaimer: This website is an informational site and should be used for informational purposes only. We pride ourselves on having the most up to date information but cannot guarantee 100% accuracy. Please check your local laws regarding online gambling to ensure that you are in compliance with the laws of your jurisdiction. Gambling can be addictive, please play responsibly. Make use of the free casino cash to examine the casino lobby, the bonus offers, the WR requirements, the games, jackpots, playthrough, max cashout, download or Instant Play, etc. Some casinos allow the bonus codes to be used to play any other table game as well; this is called a ‘no rules’-bonus. * FI = Finland ▲ NO=Norway ▲ UK = United Kingdom ▲ SE = Sweden ▲ DE = German spekaers ▲ NZ = New Zaeland ▲AU = Australia
You have a unique perspective that I find incredibly valuable. Thank you for sharing.
semaglutide 14mg pill semaglutide 14 mg tablet buy rybelsus 14mg pill
online blackjack live dealer slots free best gambling sites
levitra cheap levitra oral vardenafil 20mg oral
This article was a joy to read. Your enthusiasm is contagious!
lyrica brand pregabalin 75mg pill brand lyrica 150mg
buy plaquenil hydroxychloroquine 400mg cheap buy plaquenil
desloratadine 5mg pill clarinex over the counter buy clarinex cheap
order cenforce 50mg buy cenforce 100mg online buy cenforce 50mg without prescription
claritin 10mg us buy loratadine online buy claritin pills
aralen tablet chloroquine over the counter chloroquine tablet
priligy pill buy priligy 90mg online cheap cytotec pill
cost metformin 500mg glucophage cost glycomet uk
buy xenical 120mg generic order xenical diltiazem 180mg tablet
order lipitor 80mg atorvastatin 20mg for sale atorvastatin 10mg sale
buy acyclovir without prescription order zyloprim 100mg allopurinol pill
norvasc price order amlodipine 10mg generic buy amlodipine pills
lisinopril 5mg uk prinivil medication lisinopril 2.5mg tablet
Thank you for consistently delivering valuable content. We’re proud followers from Asheville!
Thank you for being a constant source of inspiration through your blog. Asheville is proud to support you!
prilosec 20mg usa prilosec 10mg us order prilosec 20mg pills
domperidone order online sumycin 500mg pills purchase sumycin generic
cheap cyclobenzaprine flexeril without prescription buy cheap generic baclofen
purchase atenolol for sale tenormin for sale online buy atenolol 100mg pill
ketorolac cost colchicine 0.5mg cost buy colcrys 0.5mg generic
medrol 4 mg otc buy methylprednisolone no prescription methylprednisolone 4mg tablets
buy inderal 20mg pill inderal for sale buy plavix 75mg without prescription
help with writing a research paper how to write an essay about my life write essay service
buy generic methotrexate purchase medex online order coumadin 5mg
order meloxicam 15mg order meloxicam online cheap order celecoxib generic
reglan ca reglan order online buy cozaar 25mg sale
cheap tamsulosin buy tamsulosin 0.4mg online cheap celebrex 200mg cheap
esomeprazole pills order generic nexium order topamax 200mg pills
order zofran 8mg generic buy ondansetron pills order generic spironolactone 25mg
imitrex 50mg cheap buy imitrex 50mg pills buy levofloxacin no prescription
buy simvastatin buy valtrex 1000mg without prescription purchase valacyclovir generic
cost ampicillin ampicillin brand amoxicillin order
finasteride 1mg generic finasteride 1mg uk diflucan where to buy
cipro 500mg oral – ethambutol order online amoxiclav online buy
buy cipro 500mg sale – buy keflex 500mg pills buy cheap generic clavulanate
generic ciplox 500mg – purchase doxycycline online cheap order erythromycin online
buy cheap metronidazole – zithromax 500mg drug buy azithromycin 500mg online
buy ivermectin 6mg – cheap co-amoxiclav generic oral tetracycline 250mg
valtrex 1000mg drug – nemasole online buy order zovirax without prescription
After study a few of the blog posts on your website now, and I truly like your way of blogging. I bookmarked it to my bookmark website list and will be checking back soon. Pls check out my web site as well and let me know what you think.
buy acillin sale doxycycline uk order amoxil
flagyl pills – cost amoxil cheap zithromax 250mg
order lasix without prescription – prograf 1mg generic capoten over the counter
glycomet cost – epivir generic lincocin 500mg us
retrovir 300 mg pill – allopurinol 300mg drug brand allopurinol 300mg
clozaril medication – quinapril us pepcid 40mg usa
buy anafranil 50mg – order asendin for sale doxepin online buy
order quetiapine 50mg online cheap – order luvox 100mg for sale eskalith order
hydroxyzine cheap – buy endep 10mg online cheap cheap endep
I’ve been exploring for a little bit for any high-quality articles or blog posts on this sort of area . Exploring in Yahoo I at last stumbled upon this web site. Reading this info So i’m happy to convey that I have a very good uncanny feeling I discovered exactly what I needed. I most certainly will make sure to don’t forget this website and give it a glance on a constant basis.
buy augmentin 625mg pills – order bactrim online cheap order baycip online
buy generic amoxil – ceftin 250mg generic buy cipro 1000mg generic
buy generic azithromycin – order tetracycline 250mg online cheap buy ciprofloxacin pills
cleocin 150mg over the counter – vantin 100mg pill oral chloramphenicol
What Is Puravive? Puravive is a weight loss supplement that works to treat obesity by speeding up metabolism and fat-burning naturally.
Hello! I could have sworn I’ve been to this site before but after browsing through a few of the posts I realized it’s new to me. Anyhow, I’m definitely delighted I came across it and I’ll be book-marking it and checking back regularly!
It is appropriate time to make some plans for the future and it is time to be happy. I have read this post and if I could I want to suggest you some interesting things or suggestions. Perhaps you can write next articles referring to this article. I wish to read even more things about it!
ivermectin 6 mg tablets for humans – levofloxacin 250mg ca buy cefaclor 250mg without prescription
I was more than happy to search out this net-site.I needed to thanks on your time for this glorious read!! I positively having fun with each little little bit of it and I have you bookmarked to check out new stuff you weblog post.
Hi there very nice website!! Man .. Excellent .. Amazing .. I’ll bookmark your blog and take the feeds also…I’m glad to find so many useful information here within the put up, we want work out extra strategies on this regard, thank you for sharing.
order albuterol sale – purchase theo-24 Cr for sale theophylline buy online
Hi! I simply would like to offer you a big thumbs up for the great information you’ve got here on this post. I am coming back to your site for more soon.
Definitely believe that which you stated. Your favorite justification seemed to be on the web the simplest thing to be aware of. I say to you, I definitely get annoyed while people consider worries that they plainly don’t know about. You managed to hit the nail upon the top and also defined out the whole thing without having side-effects , people can take a signal. Will likely be back to get more. Thanks
buy cheap depo-medrol – buy cetirizine 10mg without prescription cost azelastine
I am continually looking online for articles that can benefit me. Thanks!
I’m impressed, I have to admit. Seldom do I come across a blog that’s both equally educative and entertaining, and let me tell you, you have hit the nail on the head. The issue is something not enough people are speaking intelligently about. I’m very happy I came across this in my search for something concerning this.
This is a very good tip particularly to those new to the blogosphere. Brief but very accurate information… Thank you for sharing this one. A must read article!
Everything is very open with a precise explanation of the issues. It was definitely informative. Your site is extremely helpful. Many thanks for sharing!
Качественное написание рефератов https://referatnovy.ru/, курсовых и дипломных работ от лучших авторов. Уникальные работы под ключ. Заказать студенческую работу за 2 дня.
glyburide usa – buy dapagliflozin 10 mg generic buy dapagliflozin without a prescription
buy glycomet 1000mg sale – purchase sitagliptin pills order precose 50mg sale
Puravive is a weight loss supplement that targets the root cause of weight gain issues in men and women.
Fitspresso stands out among the crowded health supplement market as an exceptional product.
prandin generic – jardiance pill generic empagliflozin 10mg