Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can help repair my program? this code #include int i,n ; float ratarata, jumlah, x; void input () { printf(Masukkan banyak data : ); scanf

can help repair my program?

this code

#include int i,n ; float ratarata, jumlah, x; void input () { printf("Masukkan banyak data : "); scanf ("%d",&n); jumlah = 0; }

void proses(){ printf("Masukkan nilai data ke-%d: ",i); scanf("%d",n); for (i=1;i<=n;i++){ } jumlah=jumlah+x; } void output(){ ratarata=jumlah/n; printf("Ratarata: %.2f",ratarata); } int main(){ Input(); Proses(); Output(); return=1; }

thanks so much

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

7-2 What are the different types of networks?

Answered: 1 week ago