Sign In
|
Register
> Browse
all docs
DocStore
Legal
Business
Personal Finance
Technology
Education
Jobs & Careers
Tax
Real Estate
Current Events
Politics & History
Guides
Science
Entertainment
Health & Fitness
Medicine
Conferences
Art & Literature
Lifestyle
Travel
Templates
> Featured
> Browse
16-Elementul maxim de pe diagonala principala a unei matrice patratice
Reviews
Shared by:
Buturca Diana-Alexandra
Categories
Education
Tags
Stats
views:
39
rating:
not rated
reviews:
0
posted:
10/28/2008
language:
pages:
0
Public Domain
#include
#include
#include
fstream f("matrice.in",ios::in); void main() { clrscr(); int a[10][10],n,i,j,max; f>>n; for(i=1;i<=n;i++) for(j=1;j<=n;j++) f>>a[i][j]; for(i=1;i<=n;i++) { for(j=1;j<=n;j++) cout<
max) max=a[i][i]; } cout<
Shared by:
Buturca Diana-Alexandra
Buturca Diana-Alexandr...
Student
contact me
In order to send a message you need to be logged in.
About
I'm only happy when it rains !
Other docs by
Buturca Diana-...
Ţesutul conjunctiv
Views: 89 | Downloads: 7
Ţesutul conjunctiv
Views: 13 | Downloads: 2
p1
Views: 39 | Downloads: 9
FK and Arcs
Views: 100 | Downloads: 3
Ierarhii si relatii recursive
Views: 121 | Downloads: 0
s35
Views: 30 | Downloads: 2
s34
Views: 17 | Downloads: 2
s33
Views: 24 | Downloads: 2
s32
Views: 20 | Downloads: 3
s31
Views: 25 | Downloads: 3
s30
Views: 17 | Downloads: 3
s29
Views: 20 | Downloads: 3
s28
Views: 13 | Downloads: 3
s27
Views: 11 | Downloads: 3
s26
Views: 10 | Downloads: 3