introducao_c_camillo_pucpr
136 pág.

introducao_c_camillo_pucpr


DisciplinaAlgoritmos e Estrutura de Dados I702 materiais7.920 seguidores
Pré-visualização31 páginas
___________________________________________________________
___________________________________________________________
_______________________________________ ____________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________ ________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
______________ _____________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
__________________________ _________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
Aspectos Formais da Computação - linguagem C
Prof. Camillo Oliveira
pág. 50
7. Uma Reta pode ser definida por um ponto e o seu coeficiente angular. Um plano pode ser definido por
uma RETA e um PONTO, desde que este ponto não pertença a esta reta.
Defina o tipo PLANO em função dos tipos RETA e PONTO.
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
_____________ ______________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
_________________________ __________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
_____________________________________ ______________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
_________________________________________________ __________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
____________ _______________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
________________________ ___________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
____________________________________ _______________________
___________________________________________________________
___________________________________________________________
Aspectos Formais da Computação - linguagem C
Prof. Camillo Oliveira
pág. 51
Declare uma variável do tipo PLANO e atribua valores para este plano.
__________________________________ _________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
______________________________________________ _____________
___________________________________________________________
___________________________________________________________
___________________________________________________________
__________________________________________________________ _
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
_________ __________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
_____________________ ______________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
_________________________________ __________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
_____________________________________________ ______________
___________________________________________________________
___________________________________________________________
___________________________________________________________
_________________________________________________________ __
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
________ ___________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
____________________ _______________________________________
___________________________________________________________
___________________________________________________________
Aspectos Formais da Computação - linguagem C
Prof. Camillo Oliveira
pág. 52
Declare um conjunto de cinco PLANOS e atribua valores para terceiro plano.
_____________ ______________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
_________________________ __________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
_____________________________________ ______________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
_________________________________________________ __________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
___________________________________________________________
____________ _______________________________________________
___________________________________________________________