System that receives a value and cubes the value.
Install Dev C++; Operating System: Windows 10; Developed in C Author: Matheus Alexsander da Cruz Date: 11/04/2021
The system has the function CUBO:
void CUBO(int a){ // Input user value
int resultado = (a * a * a); // Variable and processing printf("O cubo do valor %d eh %d", a, resultado); // Output }
The system receives a value and stores it in the variable: valor01
After the system receives and stores the value, the function CUBO is called, then returning an output to the user.
Sistema que recebe um valor e eleva o valor ao cubo.
Instale o Dev C++; Sistema Operacional: Windows; Desenvolvido em C Autor: Matheus Alexsander da Cruz Data: 04/11/2021
O sistema possui a função CUBO:
void CUBO(int a){ // Receber valor do usuario
int resultado = (a * a * a); // Variavel e processamento printf("O cubo do valor %d eh %d", a, resultado); // Saida }
O sistema recebe um valor e armazena na varíavel: valor01
Após o sistema receber e armazenar o valor, a função CUBO é chamada, assim retornando uma saída para o usuário.