I apologise, new to the site. The output from the row totals is correct though e.g.:
R1: 1 2 1 2 1
R2: 1 2 2 2 2
R3: 3 3 3 3 3
R4: 4 4 4 4 4
R5: 5 5 5 5 5
Row totals: 7 9 15 20 25
Column...
Type: Posts; User: Drezden
I apologise, new to the site. The output from the row totals is correct though e.g.:
R1: 1 2 1 2 1
R2: 1 2 2 2 2
R3: 3 3 3 3 3
R4: 4 4 4 4 4
R5: 5 5 5 5 5
Row totals: 7 9 15 20 25
Column...
Writing a program that contains a 5x5 array and then prints the row totas and the column totals. The row total output is fine. But the output of the column total is wrong. The total after each...
Edited the code as suggested and I've got the following errors. :( Any suggestions?
error LNK2005: _main already defined in n.obj
error LNK2005: "float __cdecl process(float)"...
Hi
The program itself is running fine at first, but for some reason when I enter the radius for multiplication, I keep getting the Area result as 0.
Any help would be much appreciated! ;) :)
...