Question: 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
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
Get step-by-step solutions from verified subject matter experts
