りゅうちゃん@hパラメータ No title
No License C++
2020年09月14日
Copy Clone
#include <stdio.h>
#include<stdlib.h>
#include<math.h>
int main(void){
    int a[100], n, i,s,h,z,x;
    float j;
    srand(100);
    printf("Input n=?\n");
    scanf("%d",&n);
    for(i=1;i<=n;i++){
        a[i]=rand()%100;
        printf("a[%d]=%d\n",i,a[i]);

    }
    s=0;
    z=0;
    x=0;
    for(i=1;i<=n;i++){
        s=s+a[i];
        if(a[i]>z){
            z=a[i];
        }else{
        }

    }
    h = s / n;
    for(i=1;i<=n;i++){
        x=x+((a[i]-h)*(a[i]-h));
    }
    j=sqrt(x/n);
    printf("sum=%d\n",s);
    printf("avarage=%d\n",h);
    printf("max=%d\n",z);
    printf("標準偏差=%f",j);
}
#include <stdio.h>
#include<stdlib.h>
#include<math.h>
int main(void){
    int a[100], n, i,s,h,z,x;
    float j;
    srand(100);
    printf("Input n=?\n");
    scanf("%d",&n);
    for(i=1;i<=n;i++){
        a[i]=rand()%100;
        printf("a[%d]=%d\n",i,a[i]);

    }
    s=0;
    z=0;
    x=0;
    for(i=1;i<=n;i++){
        s=s+a[i];
        if(a[i]>z){
            z=a[i];
        }else{
        }

    }
    h = s / n;
    for(i=1;i<=n;i++){
        x=x+((a[i]-h)*(a[i]-h));
    }
    j=sqrt(x/n);
    printf("sum=%d\n",s);
    printf("avarage=%d\n",h);
    printf("max=%d\n",z);
    printf("標準偏差=%f",j);
}
anonymous
Anonymous
2021年04月26日
Medicine information sheet. Generic Name. <a href="https://pregabalinfor.top">lyrica w/out prescription</a> in Canada Everything trends of medicines. Read information now.
anonymous
Anonymous
2021年04月29日
Pills information leaflet. Long-Term Effects. <a href="https://lyricainfo.top">cheap lyrica without a prescription</a> in USA Everything trends of medicine. Get here.
anonymous
Anonymous
2021年04月30日
where to get cialis <a href="https://mycialistabs.com/">coupons for cialis</a> were can i buy cialis
anonymous
Anonymous
2021年04月30日
buying cialis online <a href="https://mycialistabs.com/">cialis over the counter at walmart</a> cialis 10mg price
anonymous
Anonymous
2021年05月03日
cialis cost <a href="https://toptadalafiltabs.com/">cheapest cialis 20 mg</a> generic cialis online canada
anonymous
Anonymous
2021年05月04日
cialis dosage 20mg <a href="https://toptadalafiltabs.com/">buying cialis online safely</a> cialis bathtub
anonymous
Anonymous
2021年05月05日
how to write a college transfer essay <a href="https://topessaywriterfas.com/">cheap essay writer</a> how to write a thesis statement for a classification essay
anonymous
Anonymous
2021年05月05日
how do you write an outline for an essay <a href="https://topessaywriterfas.com/">college essay proofreader</a> write essay weather
anonymous
Anonymous
2021年05月06日
essay on forest service <a href="http://writemyessayslfd.com/">argumentative essay writing</a> cuhstom essay writing service
anonymous
Anonymous
2021年05月07日
over the counter female viagra <a href="https://mrviagrashop.com">over the counter sildenafil</a> viagra fuck
anonymous
Anonymous
2021年05月07日
customer service essay question <a href="http://writemyessayslfd.com/">write essay for money</a> passenger service agent essay
anonymous
Anonymous
2021年05月07日
buy generic 100mg viagra online <a href="https://mrviagrashop.com">viagra for men</a> cvs viagra
anonymous
Anonymous
2021年05月07日
viagra buy <a href="https://mysildenafilkr.com/">sildenafil over the counter cvs</a> viagra for woman
anonymous
Anonymous
2021年05月08日
canadian pharmacy viagra <a href="https://mysildenafilkr.com/">womens viagra</a> sildenafil 100
anonymous
Anonymous
2021年05月12日
keywords for resume <a href="http://coverletterforresumetop.com/">resume writing services near me</a> resume for job
anonymous
Anonymous
2021年05月12日
cialis dose <a href="http://tadalafilled.com/">cialis for sale online</a> cost of cialis 5mg
anonymous
Anonymous
2021年05月12日
receptionist cover letter <a href="http://coverletterforresumetop.com/">writing a cover letter for a job</a> best resume writing service
anonymous
Anonymous
2021年05月12日
generic cialis 2018 <a href="http://tadalafilled.com/">tadalafil research chemical</a> cost of cialis without insurance
anonymous
Anonymous
2021年05月13日
resume for teens <a href="https://writingacoverletteronline.com/">need help writing a resume</a> project coordinator resume
anonymous
Anonymous
2021年05月13日
resume for job <a href="https://writingacoverletteronline.com/">review my resume</a> mechanical engineering resume
anonymous
Anonymous
2021年05月14日
viagra para mujer <a href="https://edviagramaster.net/">viagra sex</a> female viagra over the counter
anonymous
Anonymous
2021年05月14日
generic viagra 100mg <a href="https://edviagramaster.net/">200 mg sildenafil citrate</a> best generic viagra
anonymous
Anonymous
2021年05月15日
sildenafil 100 mg tablets <a href="https://sildenafilviagratop.com">sildenafil citrate 50mg</a> better than viagra
anonymous
Anonymous
2021年05月15日
cialis discount coupons <a href="https://cialisortadalafil.com/">buy generic cialis online</a> cialis generic cost
anonymous
Anonymous
2021年05月16日
cialis daily dose <a href="https://cialisortadalafil.com/">what are the side effects of cialis</a> cialis directions
anonymous
Anonymous
2021年05月16日
viagra prescription <a href="https://sildenafilviagratop.com">viagra cost</a> sildenafil citrate 20 mg
anonymous
Anonymous
2021年05月17日
is cialis better than viagra <a href="https://topcialistabs.com/">tadalafil vs viagra</a> prescription free cialis
anonymous
Anonymous
2021年05月17日
cialis medicine <a href="https://topcialistabs.com/">cialis 2.5 mg</a> viagra vs. cialis
anonymous
Anonymous
2021年06月01日
Drug prescribing information. Long-Term Effects. <a href="https://pregabalininfo.top">cheap pregabalin without a prescription</a> in the USA All about medicines. Read now.
anonymous
Anonymous
2021年07月19日
<a href="https://domalech.ru">can i order generic trazodone no prescription</a>
anonymous
Anonymous
2021年07月25日
Pills prescribing information. Long-Term Effects. <a href="https://plaquenil4people.top">buying plaquenil</a> in US Best trends of meds. Read information now.