• 1


    #include
    #include
    main ()
    {
    int nilai [10] = {8, 12, 20, 15, 7, 5, 6, 4, 32, 3};
    int i, jumlah= 0;

    float rata-rata;
    for (i=0; i<10 i="" p="">jumlah+=nilai [i];

    rata_rata= (float) Jumlah / 10;

    cout<<"\n\nDeretan bilangan = ";
    for (i=0; i<10 i="" p="">cout<
    cout<<"\nJumlah bilangan = "<cout<<"\nrata_rata bilangan = "<getch();
    }
  • 0 komentar:

    Posting Komentar

    Pengikut

    Search This Blog

    BUILDING SINCE 2012

    BUILDING SINCE 2012

    "OMMI" consists of young and dynamic professionals thriving to provide the widest spectrum of corporate service solutions in a single window. We are a professionally equipped company started with the mission to provide a comprehensive range of Management Consultancy Services to our clients.

    Subscribe Us

    ADDRESS

    Office: Jl. Pangeran Hidayat No. 97 B. Pekanbaru

    EMAIL

    Office: permatabundapku@gmail.com
    bang_fauzil@yahoo.com

    TELEPHONE

    Office: +0761 849 102
    0852 7259 4146

    MOBILE

    0822 8385 1648