i already doing some program, but when i want to compile=ok, but after key in the result, no ouptut average..the cmd just gone...it cannot be done... anyone can help me why..i still new in c++ langunage...
#include <stdio.h>
#include <conio.h>
void main()
{
int BacaanAPIMingguan[4][7];
int JumlahAPIMingguan[4];
int pembilang1, pembilang2;
By using two-dimensional arrays, how i must write a program to read this Air Pollution Index (API) as an input from the user and store the data in a two-dimensional array. and this program should calculate the average API for each of the four weeks. The example of API readings are given in the table below.
the question is like that... already finish write code but after all input is key in.. the results not show...it's gone... actually, after i key in all the data sheet.. the average result will appear..but when i run the program.. all data can fill the after finish key in data.. they no output show...