Skip to content

Commit 3ff9f85

Browse files
Add files via upload
1 parent 0fd9518 commit 3ff9f85

File tree

6 files changed

+23
-0
lines changed

6 files changed

+23
-0
lines changed

UNIDADE 1/UNIDADE I.rar

9.99 MB
Binary file not shown.

UNIDADE 2/UNIDADE II.rar

8.57 MB
Binary file not shown.

UNIDADE 3/UNIDADE III.rar

10.6 MB
Binary file not shown.

tabela-verdade.jpg

631 KB
Loading

tabelaASCII.pdf

141 KB
Binary file not shown.

urionline.txt

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#include <iostream>
2+
3+
using namespace std;
4+
5+
int main() {
6+
7+
unsigned int n1, n2, fat1=1, fat2=1;
8+
9+
do{
10+
cin>>n1>>n2;
11+
}while(n1>20 || n2>20);
12+
13+
for(int i=1; i<=n1; i++){
14+
fat1=fat1*i;
15+
}
16+
for(int j=1; j<=n2; j++){
17+
fat2=fat2*j;
18+
}
19+
20+
cout<<fat1+fat2<<endl;
21+
22+
return 0;
23+
}

0 commit comments

Comments
 (0)