anonymous No title
No License C++
2020年09月12日
Copy Clone
#include "stdio.h"

//階乗関数
double fact(double k) {
	double y,i;
	y = 1;
	for (i = 1; i <= k;i++) {
		y = y * i;
	}
	return(y);
}

int main() {
	double c, n, r, i;

	//入力
	printf("n=");
	scanf_s("%lf",&n);
	printf("r=");
	scanf_s("%lf",&r);

	c = fact(n) / (fact(r)*fact(n-r));

	printf("%lf",c);
}
#include "stdio.h"

//階乗関数
double fact(double k) {
	double y,i;
	y = 1;
	for (i = 1; i <= k;i++) {
		y = y * i;
	}
	return(y);
}

int main() {
	double c, n, r, i;

	//入力
	printf("n=");
	scanf_s("%lf",&n);
	printf("r=");
	scanf_s("%lf",&r);

	c = fact(n) / (fact(r)*fact(n-r));

	printf("%lf",c);
}
anonymous
Anonymous
2021年04月27日
Medication information leaflet. Brand names. <a href="https://lyricainfo.top">can i order pregabalin without prescription</a> in the USA Everything news about medicines. Read now.
anonymous
Anonymous
2021年04月29日
Meds prescribing information. Generic Name. <a href="https://pregabalinfor.top">cost lyrica without rx</a> in Canada Best trends of pills. Get here.
anonymous
Anonymous
2021年04月30日
best time to take cialis <a href="https://mycialistabs.com/">buy cialis online</a> cialis over the counter 2018
anonymous
Anonymous
2021年04月30日
cialis daily dosage <a href="https://mycialistabs.com/">canadian pharmacy cialis 20mg</a> cialis price cvs
anonymous
Anonymous
2021年05月01日
cialis vs viagra <a href="https://toptadalafiltabs.com/">https://www.toptadalafiltabs.com/</a> cialis dosing
anonymous
Anonymous
2021年05月02日
cialis 100mg <a href="https://toptadalafiltabs.com/">how long does cialis take to work</a> purchase cialis on line
anonymous
Anonymous
2021年05月03日
write me an essay <a href="https://topessaywriterfas.com/">topessaywriterfas.com</a> how to write an ap world history essay
anonymous
Anonymous
2021年05月04日
how to write a 300 word essay <a href="https://topessaywriterfas.com/">can money buy happiness essay</a> what to write in a conclusion for an essay
anonymous
Anonymous
2021年05月05日
personal essay service <a href="http://writemyessayslfd.com/">writing essays in college</a> writing the essay
anonymous
Anonymous
2021年05月06日
best essay wdriting service <a href="http://writemyessayslfd.com/">writing college application essays</a> best essay writing service on the web
anonymous
Anonymous
2021年05月06日
buy viagra online <a href="https://mrviagrashop.com">sildenafil generic</a> viagra over the counter
anonymous
Anonymous
2021年05月07日
ingrediants in viagra <a href="https://mrviagrashop.com">sildenafil para que sirve</a> chinese herb viagra
anonymous
Anonymous
2021年05月07日
over the counter female viagra <a href="https://mysildenafilkr.com/">over the counter sildenafil</a> viagra fuck
anonymous
Anonymous
2021年05月07日
hims viagra <a href="https://mysildenafilkr.com/">canadian pharmacy ezzz viagra</a> homemade viagra
anonymous
Anonymous
2021年05月11日
cialis 20 mg <a href="http://tadalafilled.com/">when will cialis become generic</a> cialis price per pill
anonymous
Anonymous
2021年05月11日
skills and abilities for resume <a href="http://coverletterforresumetop.com/">entry level cover letter</a> purdue owl cover letter
anonymous
Anonymous
2021年05月11日
cialis vs viagra cost <a href="http://tadalafilled.com/">cialis for women</a> is cialis safe
anonymous
Anonymous
2021年05月11日
truck driver resume <a href="http://coverletterforresumetop.com/">customer service cover letter</a> security guard resume
anonymous
Anonymous
2021年05月12日
sales representative resume <a href="https://writingacoverletteronline.com/">professional resume writers</a> cover letter teacher
anonymous
Anonymous
2021年05月12日
resume professional summary <a href="https://writingacoverletteronline.com/">resume writing services prices</a> real estate agent resume
anonymous
Anonymous
2021年05月13日
sildenafil dosages <a href="https://edviagramaster.net/">otc sildenafil</a> best herbal viagra
anonymous
Anonymous
2021年05月13日
roman viagra <a href="https://edviagramaster.net/">walgreen viagra</a> buy viagra
anonymous
Anonymous
2021年05月15日
buy viagra cheapest <a href="https://sildenafilviagratop.com">sildenafil india</a> viagra gel
anonymous
Anonymous
2021年05月15日
price of viagra <a href="https://sildenafilviagratop.com">buying viagra online</a> viagra pill
anonymous
Anonymous
2021年05月15日
cialis generics <a href="https://cialisortadalafil.com/">cialis over the counter</a> cialis side effect
anonymous
Anonymous
2021年05月15日
cialis recommended dosage <a href="https://cialisortadalafil.com/">is cialis covered by insurance</a> printable cialis coupon
anonymous
Anonymous
2022年03月27日
conclusion for a community service essay <a href="https://englishessayblog.com/">https://www.englishessayblog.com/</a> community service example essay
anonymous
Anonymous
2021年05月16日
free cialis <a href="https://topcialistabs.com/">how fast does cialis work</a> cialis vs.viagra reviews
anonymous
Anonymous
2021年05月16日
cialis memes <a href="https://topcialistabs.com/">cialis blood pressure</a> cialis 20
anonymous
Anonymous
2021年05月17日
Pills prescribing information. What side effects? <a href="https://prozac247.top">generic prozac no prescription</a> in US Best trends of drugs. Get here.
anonymous
Anonymous
2021年05月18日
Medication information. What side effects? <a href="https://lamictal4u.top">cost of generic lamictal online</a> in US Some about drug. Get information now.
anonymous
Anonymous
2021年05月21日
<a href="https://5bz.ru/">база предприятий россии</a>
anonymous
Anonymous
2021年05月21日
<a href="https://5bz.ru/">база крупных предприятий россии</a>