From 7706b9c7fdbc3bf164d716c270887be1105decc8 Mon Sep 17 00:00:00 2001
From: DaviMarinho <53916328+DaviMarinho@users.noreply.github.com>
Date: Wed, 2 Oct 2019 10:46:26 -0300
Subject: [PATCH 1/4] IsPrime

---
 Prime | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 Prime

diff --git a/Prime b/Prime
new file mode 100644
index 0000000..fafb4f3
--- /dev/null
+++ b/Prime
@@ -0,0 +1,22 @@
+#include <stdio.h>
+#include <math.h>
+
+int main(void) {
+  int num, raiz, contador, i;
+	i=0;
+	contador=1;
+	scanf("%d", &num);
+	raiz = sqrt(num);
+	while(contador<=raiz){
+	  if(num%contador==0){
+    	i=i+1;
+  }
+	  contador=contador+1;
+  }
+	if(i==1){
+    printf("Is prime\n");
+  }
+	else
+	printf("Not is prime\n");
+  return 0;
+}

From a4227cfed120197ed666cec0e7af5178d5f24fa6 Mon Sep 17 00:00:00 2001
From: DaviMarinho <53916328+DaviMarinho@users.noreply.github.com>
Date: Wed, 2 Oct 2019 11:04:35 -0300
Subject: [PATCH 2/4] sumofintegers

---
 sumofintegers | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 sumofintegers

diff --git a/sumofintegers b/sumofintegers
new file mode 100644
index 0000000..29b972e
--- /dev/null
+++ b/sumofintegers
@@ -0,0 +1,18 @@
+#include <stdio.h>
+
+int main(void){
+  int a, n, b=0, i;
+
+  scanf("%d %d", &a, &n);
+  while(n<=0){
+    scanf("%d", &n);
+  }
+  for(i=1; i<=n;i++){
+    b+=a;
+    a++;
+  }
+
+  printf("%d\n", b);
+
+return 0;
+}

From 9b896b759336adf061473cff0a03587bd1da1ce2 Mon Sep 17 00:00:00 2001
From: DaviMarinho <53916328+DaviMarinho@users.noreply.github.com>
Date: Wed, 28 Oct 2020 16:47:07 -0300
Subject: [PATCH 3/4] Create Matrix.py

---
 Matrix with informations PTBR/Matrix.py | 31 +++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 Matrix with informations PTBR/Matrix.py

diff --git a/Matrix with informations PTBR/Matrix.py b/Matrix with informations PTBR/Matrix.py
new file mode 100644
index 0000000..d6865cc
--- /dev/null
+++ b/Matrix with informations PTBR/Matrix.py	
@@ -0,0 +1,31 @@
+matriz = []
+soma_pares = soma_coluna = maior = 0
+
+for i in range(0, 3):
+    coluna = []
+    for j in range(0, 3):
+        valor = int(input(f'Digite um valor para [{i}, {j}]: '))
+        coluna.append(valor)
+
+        if valor % 2 == 0:
+            soma_pares += valor
+        if j == 2:
+            soma_coluna += valor
+        if i == 1:
+            if j == 0:
+                maior = valor
+            else:
+                if valor > maior:
+                    maior = valor
+    matriz.append(coluna)
+
+print('='*15)
+for i in range(0, 3):
+    for j in range(0, 3):
+            print(f'[{matriz[i][j] :^5}]', end='')
+    print()
+
+print('='*15)
+print(f'A soma dos valores pares digitados é {soma_pares}')
+print(f'A soma dos valores da terceira coluna é {soma_coluna}')
+print(f'O maior valor da segunda linha é {maior}')

From c352328acf993b25047aa78a511075ea839be48f Mon Sep 17 00:00:00 2001
From: DaviMarinho <53916328+DaviMarinho@users.noreply.github.com>
Date: Wed, 28 Oct 2020 16:49:14 -0300
Subject: [PATCH 4/4] Create Matrix explanation PTBR.txt

---
 Matrix with informations PTBR/Matrix explanation PTBR.txt | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 Matrix with informations PTBR/Matrix explanation PTBR.txt

diff --git a/Matrix with informations PTBR/Matrix explanation PTBR.txt b/Matrix with informations PTBR/Matrix explanation PTBR.txt
new file mode 100644
index 0000000..7e0a3b9
--- /dev/null
+++ b/Matrix with informations PTBR/Matrix explanation PTBR.txt	
@@ -0,0 +1,4 @@
+Crie um programa que declare uma matriz de dimensão 3x3 e preencha com valores lidos pelo teclado. No final, mostre a matriz na tela, com a formatação correta, mostrando no final: 
+A) A soma de todos os valores pares digitados.
+B) A soma dos valores da terceira coluna.
+C) O maior valor da segunda linha.