Vetores Matrizes

download Vetores Matrizes

of 14

Transcript of Vetores Matrizes

  • 7/26/2019 Vetores Matrizes

    1/14

    !"#$% '

    !"#$% '"% ()$)*+ ,)"-.#//-

    !"#$%&'(%) +#%,-./%0)0- 1)$23%() 0" 4%" 5.)

    8)(730)0- 0- 9#&".:;$%() < 8=19>

    ! ()*+),- .- /)0+12)3 4+,2,- 5+3-* #1-6*7 ?.@ A).(" A)#B)# + ?.@ A)$C-7/ D.-,%/)#

  • 7/26/2019 Vetores Matrizes

    2/14

    89:%$9; 9 !" ;%($9?

  • 7/26/2019 Vetores Matrizes

    3/14

    89:%$9;

  • 7/26/2019 Vetores Matrizes

    4/14

    89:%$9;

    " A-.4+20-?# B C/ 4-.DC.0- ,+ E)12FE+2* ,- /+*/- 025-G )4+**HE+2* 4-/

    I.24- .-/+ + )1/)J+.),)* ,+ 6-1/) 4-.0H.C) .) /+/K1

    # '.,2E2,C)32J)LM- ,-* +3+/+.0-* ,+*0+ 4-.DC.0- ,+ E)12FE+

    )01)EN* ,) )**-42)LM- ,+ H.,24+*7

    # 8+0-1+* *M- 0)/ON/ 4-.P+42,-* .) 32.QC)Q+/ A 4-/- E)4-/5-*0)* P-/-QR.+)*7

  • 7/26/2019 Vetores Matrizes

    5/14

    89:%$9;

    "T-/+ ,+ C/ E+0-1

    # B C/ 2,+.02624),-1 UC+ -O+,+4+ )* /+*/)* 1+Q1)* ,+ 6-1/2,+.02624),-1+* ,+ E)12FE+2* *2/53+*7

    # $+6+1+V*+ ) 0-,-* -* +3+/+.0-* ,- E+0-17

    # #)1) 1+6+1R.42) ) C/ +3+/+.0- N .+4+**F12- 4-3-4)1 - .-/

    E)12FE+3 *+QC2,- ,+ C/ H.,24+ +.01+ 4-34P+0+*7" :-,-* -* E+0-1+*

    # A-.*2*0+/ +/ 3-4)32J)LW+* 4-.0H.C)* ,+ /+/K12)7

    #

  • 7/26/2019 Vetores Matrizes

    6/14

    89:%$9;

    " 9Y+/53-?

    #include

    int main( ){

    int i, notas[4];

    for ( i = 0 ; i < 4; i++ ) {

    printf ("Entre com a nota do aluno %d: ", i+1)

    scanf ("%d", &notas[i]);

    }

    for ( i = 0 ; i < 4; i++ )

    printf ("A nota do aluno %d %d.\n", i+1, not

    return 0;

    }

  • 7/26/2019 Vetores Matrizes

    7/14

  • 7/26/2019 Vetores Matrizes

    8/14

  • 7/26/2019 Vetores Matrizes

    9/14

  • 7/26/2019 Vetores Matrizes

    10/14

    #";;"\9< ]9 #"$^

  • 7/26/2019 Vetores Matrizes

    11/14

    #";;"\9< ]9 #"$^

  • 7/26/2019 Vetores Matrizes

    12/14

    #";;"\9< ]9 #"$^

  • 7/26/2019 Vetores Matrizes

    13/14

    ":'8']"]9

  • 7/26/2019 Vetores Matrizes

    14/14

    !"(%$":e$'%

    " "* )02E2,),+* ,- 3)O-1)0K12- ,) )C3) ,+ P-D+ +*0M- .-