Facebook
From José, 4 Years ago, written in Plain Text.
This paste is a reply to Re: Re: Re: Re: Untitled from José - go back
Embed
Viewing differences between Re: Re: Re: Re: Untitled and Re: Re: Re: Re: Re: Untitled
Início
        Operação String
        num1, num2 Inteiro
        Escrever “introduza valor a calcular”
        Ler valor

        
Operação
        
Caso valor:
                
Operação:

                
Seja “adição”
                         
“+”
                         Ler “num1 + num2”
Escrever “o valor real da adição é”
                
operação é”
Escrever 

                
Seja “subtração”
                        
“-”
                        Ler “num1 - num2”
Escrever “o valor real da subtração é”
                
operação é”
Escrever
                
Seja “multiplicação”
                        
“x”
                        Ler “num1 x num2”
Escrever “o valor real da multiplicação é”
                
operação é”
Escrever

                
Seja “divisão”
                        
“/”
                        Ler “num1/num2”
                        
Escrever “o valor real da divisão é”
operação é”
                        Escrever

                Outros valores:
                        Escrever: “sem resultados”
                        Escrever
        FIMCASO
Fim