Bu örnekte kullanıcının girdiği 2 basamaklı sayıyı yazı olarak ekrana yazdıracağız.
Bu örneği yaparken Switch-case yapısını kullanacağız. Switch-case yapısının detaylı anlatımı için C# Dili Switch-Case Yapısı sayfasını ziyaret edebilirsiniz.
namespace _15.YazıOlarakYaz
{
class Program
{
static void Main(string[] args)
{
Console.Write("2 Basamakli bir sayi giriniz: ");
int sayi = Convert.ToInt32(Console.ReadLine());
int birler = sayi % 10;
int onlar = sayi / 10;
switch (onlar)
{
case 1:
Console.Write("On");
break;
case 2:
Console.Write("Yirmi");
break;
case 3:
Console.Write("Otuz");
break;
case 4:
Console.Write("Kırk");
break;
case 5:
Console.Write("Elli");
break;
case 6:
Console.Write("Altmıs");
break;
case 7:
Console.Write("Yetmis");
break;
case 8:
Console.Write("Seksen");
break;
case 9:
Console.Write("Doksan");
break;
}
switch (birler)
{
case 1:
Console.Write(" bir");
break;
case 2:
Console.Write(" iki");
break;
case 3:
Console.Write(" üç");
break;
case 4:
Console.Write(" dört");
break;
case 5:
Console.Write(" beş");
break;
case 6:
Console.Write(" altı");
break;
case 7:
Console.Write(" yedi");
break;
case 8:
Console.Write(" sekiz");
break;
case 9:
Console.Write(" dokuz");
break;
}
Console.ReadLine();
}
}
}
Kullanıcıdan sayı aldıktan sonra 9. ve 10. satırda sayının birler ve onlar basamağını buluyoruz.
9. satırda “%” operatörü ile mod alıyoruz. (sayi % 10) işlemi sayının 10’a bölümünden kalanını alarak sayının birler basamağını bulmuş olur.
10.satırda ise sayıyı 10’a bölerek sayının onlar basamağını almış oluyoruz.
Konunun detaylı anlatımı için C# Dili Veri Tipleri ve Değişkenler sayfasınız ziyaret edebilirsiniz.
En son olarak da switch-case yapısını kullanarak sayıyı yazı olarak ekrana yazdırmış oluyoruz.
Kodun ekran çıktısı şu şekildedir:

86 Yorum
tricor sale buy fenofibrate buy generic fenofibrate 200mg
ketotifen online order brand zaditor 1mg buy generic imipramine 25mg
cialis otc sildenafil drug viagra 100mg without prescription
acarbose over the counter prandin 1mg canada order fulvicin 250mg generic
order mintop sale generic tamsulosin 0.4mg best place to buy ed pills online
buy generic aspirin 75 mg hydroquinone tubes order generic imiquimod
brand dipyridamole 25mg buy plendil 5mg online cheap pravastatin 20mg uk
order melatonin 3mg for sale danocrine 100 mg ca danocrine 100mg usa
how to buy fludrocortisone buy fludrocortisone generic buy loperamide 2mg
generic duphaston order empagliflozin empagliflozin 25mg cheap
prasugrel online detrol 1mg pill tolterodine over the counter
etodolac 600mg tablet monograph 600mg cost pletal 100mg cost
ferrous sulfate tablet ascorbic acid pills betapace order online
buy enalapril 5mg for sale bicalutamide online buy duphalac online cheap
pyridostigmine 60 mg usa maxalt uk rizatriptan uk
buy betahistine pills buy zovirax medication buy probenecid 500mg sale
purchase zovirax for sale where can i buy xalatan rivastigmine drug
order prilosec for sale prilosec 10mg without prescription cost metoprolol
premarin cheap order sildenafil online viagra sildenafil 100mg
buy micardis no prescription buy telmisartan generic where can i buy movfor
buy cenforce 100mg online order chloroquine generic order chloroquine online
tadalafil 10mg sildenafil next day sildenafil cost
cefdinir 300 mg ca buy cheap generic omnicef buy prevacid medication
provigil 100mg without prescription order deltasone 40mg sale buy deltasone generic
buy atorvastatin 20mg online proventil 100mcg oral how to get amlodipine without a prescription
order accutane 10mg purchase zithromax online cheap purchase zithromax online cheap
buy azithromycin 500mg generic buy prednisolone 40mg buy neurontin 800mg generic
buy protonix 40mg sale purchase pantoprazole online cheap pyridium order online
online blackjack live dealer slots meaning cheap lasix 40mg
spins real money order ventolin 2mg online order albuterol 4mg generic
order amantadine 100 mg order atenolol 50mg dapsone 100mg tablet
casinos online roulette game stromectol ivermectin buy
medrol 4mg for sale aristocort 4mg generic purchase triamcinolone pill
serophene pill imdur 20mg over the counter imuran 50mg ca
Um dos pontos fortes da casa de apostas Vaide Bet são os recursos que ela oferta aos jogadores. Desde apostas ao vivo, passando por boletim de apostas múltiplas, classificação de ligas, eventos do dia, aplicativo, entre outros. Veja os melhores recursos da casa de apostas que está chamando a atenção dos apostadores do Brasil. ● Uma longa rodada com uma pequena aposta. Você precisa colocar uma pequena quantia e não fazer o último cashout. A essência da tática é que o apostador pode se dar ao luxo de perder uma pequena quantia. Ao mesmo tempo, se o multiplicador aumentar para x10-x15, o jogador receberá um prêmio generoso, compensando as perdas anteriores. O multiplicador sobe para x10 aproximadamente uma vez a cada 9 rounds. Explicando um pouco melhor, o Aviator funciona da seguinte maneira: assim que o avião começa a voar, o multiplicador da aposta passa a aumentar. Esta dinâmica permanece enquanto o avião continua na tela, e os jogadores podem retirar o dinheiro apostado a qualquer momento, recebendo a quantidade apostada multiplicada pelo número que está na tela. Contudo, assim que o avião sai da tela, a rodada é encerrada e as apostas que não foram retiradas são perdidas.
https://www.mapleprimes.com/users/tranarinhor1981
This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data. MELHORES BÔNUS COM O CODIGO PROMOCIONAL BETANO Setembro 2023 – use “FLUVIP” Com o código promocional Betano “FLUVIP” você ativa o bônus de boas-vindas para apostas esportivas. É uma promoção que oferece um Betano bônus para primeiro depósito de até R$500.Abaixo, confira os detalhes de algumas ofertas de Setembro 2023 da Betano Brasil : Além Em resumo, os grupos de Telegram apostas são uma ótima maneira de se manter informado e envolvido com o mundo das apostas esportivas. Eles oferecem a oportunidade de trocar informações e experiências com outros membros, além de serem uma fonte valiosa de inspiração para aqueles que querem começar a investir nesse tipo de atividade.
buy aceon pill buy clarinex 5mg sale buy generic fexofenadine over the counter
buy vardenafil generic buy generic tizanidine online buy zanaflex for sale
order dilantin without prescription oxytrol ca oxybutynin us
order claritin pills order claritin 10mg sale order priligy 60mg
baclofen 25mg pills cheap toradol 10mg buy toradol pills for sale
amaryl 1mg drug etoricoxib 60mg us arcoxia 60mg uk
cheap alendronate buy alendronate generic buy macrodantin 100mg without prescription
pamelor brand oral methotrexate 2.5mg buy panadol generic
xenical 120mg over the counter buy generic asacol online diltiazem canada
warfarin 5mg us reglan 10mg over the counter buy generic reglan 10mg
buy generic azelastine online buy zovirax 400mg generic buy irbesartan 300mg generic
pepcid for sale order prograf oral prograf
esomeprazole ca order nexium 40mg for sale buy generic topamax
purchase zyloprim online cheap clobetasol generic buy crestor 20mg sale
imitrex online order cheap avodart 0.5mg avodart brand
buspirone us buy cordarone 200mg generic order cordarone 200mg without prescription
brand ranitidine meloxicam 15mg canada order celebrex 100mg pill
order domperidone for sale order sumycin 250mg pills sumycin 500mg us
flomax 0.2mg generic order tamsulosin generic buy zocor 20mg sale
essay helper online buying a research paper for college cheap thesis binding
order aldactone 100mg online buy valtrex 500mg pills buy finasteride 5mg pill
order sildenafil 50mg online cheap buy generic sildenafil 100mg purchase yasmin generic
fluconazole 200mg generic ampicillin 250mg generic order ciprofloxacin 1000mg generic
order lamotrigine generic purchase vermox order generic nemazole
metronidazole us buy generic keflex 125mg cephalexin buy online
buy tretinoin pills for sale order tadalis 20mg online buy avanafil 100mg pills
buy cleocin 150mg for sale erythromycin 250mg ca ed pills that work quickly
brand tadacip 20mg order tadalafil 10mg indomethacin online buy
buy terbinafine tablets casino games real money online blackjack for money
ceftin 500mg oral oral axetil brand robaxin 500mg
order desyrel for sale clindamycin price buy clindac a without a prescription
help with term paper write me essay suprax medication
aspirin 75 mg tablet online gambling real money legal online roulette free
order trimox pill cheap amoxicillin 250mg order clarithromycin 250mg without prescription
purchase essays online i need help with my assignment play poker online free
clonidine 0.1 mg pill tiotropium bromide 9mcg cost purchase tiotropium bromide sale
calcitriol brand how to get tricor without a prescription fenofibrate oral
Báo cáo tài chính hợp nhất quý I 2022, dư nợ phải trả của FLC đến cuối tháng 3 đạt gần 26.143 tỷ đồng, tăng 2.078 tỷ so với cuối năm 2021 và chiếm 73,6% tổng nguồn vốn hoạt động. Trong đó, vay nợ và thuê tài chính gần 7.310 tỷ đồng, tăng 1.105 tỷ so với cuối năm. Theo giải trình của FLC, doanh nghiệp ghi nhận lỗ lớn trong quý II là do doanh thu bán hàng và cung cấp dịch vụ, doanh thu hoạt động tài chính trong quý giảm mạnh do Công ty đang trong quá trình cơ cấu lại các mảng kinh doanh và thay đổi nhân sự lãnh đạo chủ chốt. Chi phí bán hàng, quản lý doanh nghiệp tăng do hoạt động kinh doanh nghỉ dưỡng đang mùa cao điểm.
https://dain-rmc.co.kr/bbs/board.php?bo_table=free&wr_id=618974
Hitech Công nghệ tương lai Từ đó, chúng yêu cầu người vay phải nộp thêm các khoản tiền để bảo đảm khoản vay hoặc khắc phục lỗi hệ thống; hứa hẹn sẽ hoàn trả lại số tiền đã gửi cho khách hàng sau khi khoản vay được giải ngân. Tuy nhiên, khi người vay chuyển tiền vào số tài khoản của các đối tượng cung cấp, các đối tượng sẽ lập tức chiếm đoạt và ngắt liên lạc. Số tháng vay là thời hạn vay, là số tháng bạn phải trả nợ Khách hàng vay tiền lãi suất thấp có thể sử dụng như sổ đỏ, sổ tiết kiệm, quyền sở hữu xe ô tô… hoặc dùng hình thức vay tiền bằng CMND để thế chấp cho khoản vay. Nếu ngân hàng chấp nhận hồ sơ vay thì những tài sản này vẫn thuộc quyền sở hữu của người vay nhưng giấy tờ chứng minh sở hữu thì được ngân hàng giữ lại.
permanent treatments for acne acnomel adult acne medication genital oxcarbazepine over the counter
buy minomycin generic buy terazosin tablets purchase requip generic
buy uroxatral 10mg for sale behind the counter allergy medicine best heartburn relief fast
order femara femara 2.5 mg generic abilify oral
buy sleep meds online new alopecia medicine 2023 gnc top weight loss pills
provera 10mg canada how to get praziquantel without a prescription microzide over the counter
supplements to quit smoking cigarettes free medication to quit smoking buy pain meds online no script needed
periactin sale buy luvox 50mg sale nizoral 200mg for sale
shingles over the counter treatment pharmapure sugar blocker side effects prescription drugs for prediabetes
cheap cymbalta 40mg purchase glipizide generic modafinil 200mg for sale
list of prescription antifungal creams high blood pressure medicine list hypertension medication comparison chart
promethazine over the counter order phenergan online stromectol nz
stomach ulcer medication by prescription can duodenitis cause cancer boots pharmacy uti medication