Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
12.- C++ desde cero 2019🦸♂️ [Expresión matemática y librería math]
Video: https://youtu.be/KRcrTHEW__g
- Loading branch information
1 parent
67f7032
commit cf6ce81
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#include <iostream> | ||
#include <math.h> | ||
int main(){ | ||
float x,y,res; | ||
std::cout<<"Humano digita lo que se te pida \n"; | ||
std::cout<<"Valor de x: ";std::cin>>x; | ||
std::cout<<"Valor de y: ";std::cin>>y; | ||
res=(sqrt(x)) / (pow(x,2)-1); | ||
std::cout<<"Aqui esta tu chingadera de resultado: "<<res<<"\n"; | ||
system("pause"); | ||
return 0; | ||
} |
Binary file not shown.