Jump to content

Help I have Problems with my programm

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Prova1ver

Prova1ver

    Newbie

  • Members
  • Pip
  • 2 posts
Hello,I have one task in school, i dont have idea how to perform it. Iam tierd, and need some sleep, maybe some on can hel me.
The task: Define the matrix main diagonal elements of the sum.(7x7)
C or C++ leanguage.
Please hlp

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Well, how are you modeling your matrix? Do you know how to get the main diagonal by hand?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Prova1ver

Prova1ver

    Newbie

  • Members
  • Pip
  • 2 posts
#include <stdio.h>
#define NR_ROW 7
#define NR_COL 7
int main(void) {
int i, j;
This is funny :D I think my brins blow up. I have no Idea how to commplate that programm and I need it tommarow.
:cursing: