Buscar

What is the function of the following operator: %? I - It returns the quotient of a division between two numbers. II - It returns the remainder of...

What is the function of the following operator: %?

I - It returns the quotient of a division between two numbers.
II - It returns the remainder of a division between two numbers.
III - It multiplies two numbers.
IV - It subtracts two numbers.
a) I and III are correct.
b) II and IV are correct.
c) II and III are correct.
d) I and II are correct.

Essa pergunta também está no material:

Trabalho_de_Formatura_Apostila_da_Lingua
99 pág.

Programação I Universidade Estácio de SáUniversidade Estácio de Sá

Respostas

User badge image

Ed Verified user icon

A função do operador % é retornar o resto da divisão entre dois números. Portanto, a alternativa correta é a letra b) II e IV estão corretas.

0
Dislike0

Responda

SetasNegritoItálicoSublinhadoTachadoCitaçãoCódigoLista numeradaLista com marcadoresSubscritoSobrescritoDiminuir recuoAumentar recuoCor da fonteCor de fundoAlinhamentoLimparInserir linkImagemFórmula

Para escrever sua resposta aqui, entre ou crie uma conta

User badge image

Mais conteúdos dessa disciplina