Jump to content

Criar matriz


Go to solution Solved by HappyHippyHippo,

Recommended Posts

  • Solution
Posted (edited)

vou assumir que não tencionas alterar o tamanho dessa mesma matriz

(entre linhas : para a próxima, tens de ser mais "exacta" na tua questão)

int matrix[10][10]; // matriz 10 por 10 de inteiros
Edited by HappyHippyHippo
IRC : sim, é algo que ainda existe >> #p@p
Posted

Tenho o seguinte exercício:

Faça um programa que leia uma matriz 3x3 pelo teclado. A seguir calcular os elementos de cada coluna e armazena-los em um vector 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.