This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* $ req_p1.java | |
| * P1 JAVA, PROF. AQUINO | |
| * ALUNO: RODRIGO CALDAS DE MOURA DUARTE */ | |
| package test_p1; | |
| public class req_p1 { | |
| /*************************************************** | |
| * VARIAVEIS INTERNAS DA CLASSE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* $ req_p1.java | |
| * P1 JAVA, PROF. AQUINO | |
| * ALUNO: RODRIGO CALDAS DE MOURA DUARTE */ | |
| package test_p1; | |
| public class req_p1 { | |
| /*************************************************** | |
| * VARIAVEIS INTERNAS DA CLASSE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Estrutura de Dados e Algoritmos 1 | |
| Prof. Marcelo Vasconcelos - GEC2010N | |
| Aluno: Rodrigo Caldas de Moura Duarte */ | |
| #include "stdio.h" | |
| #include "stdlib.h" | |
| int prmet(int z, int a, int m, int i) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Estrutura de Dados e Algoritmos 1 | |
| Prof. Marcelo Vasconcelos - GEC2010N | |
| Aluno: Rodrigo Caldas de Moura Duarte */ | |
| #include "stdio.h" | |
| #include "stdlib.h" | |
| int prmet(int z) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ~rcaldasmd~ */ | |
| #include <stdio.h> | |
| int main() | |
| { | |
| int first = 1, current = 1, cnt; | |
| for(cnt = 1;cnt <= 5;cnt++) | |
| current = (first + current) * current; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ~rcaldasmd~ */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| int main(int argc, char **argv) | |
| { | |
| if(argc != 3){ | |
| fprintf(stderr,"ex: %s 9 7\n",argv[0]); | |
| return -1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /******************************************* | |
| Processo e Desenvolvimento de Software | |
| Aluno: rodrigo caldas de moura duarte | |
| gcc test1.c -o test1 -lm;./test1 | |
| *******************************************/ | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <math.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /******************************************* | |
| Processo e Desenvolvimento de Software | |
| Aluno: _rcaldasmd_ | |
| gcc test1.c -o test1 -lm;./test1 | |
| (deve de casa.. nao vale nada.. nadinha msm) | |
| *******************************************/ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /******************************************* | |
| Processo e Desenvolvimento de Software | |
| Aluno: _rcaldasmd_ | |
| gcc test1.c -o test1 -lm;./test1 | |
| (deve de casa.. nao vale nada.. nadinha msm) | |
| *******************************************/ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /******************************************* | |
| Processo e Desenvolvimento de Software | |
| Aluno: _rcaldasmd_ | |
| gcc test1.c -o test1 -lm;./test1 | |
| (deve de casa.. nao vale nada.. nadinha msm) | |
| *******************************************/ | |