We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- C++
- Introduction
- Basic Data Types
- Discussions
Basic Data Types
Basic Data Types
Sort by
recency
|
1533 Discussions
|
Please Login in order to post a comment
**Solution by Using Cout and Cin **
Perhaps Hackerrank people who created this course need to pass the certification themselfs before being hired.
This is NOT C++ this is C:
Two issues with this hackerrank problem, the problem statement is not having a proper start heading, so its confusing! Second, it is not even mentioned that if the candidate decides to use setprecision, they will have to add a header as well #include. So #hackerrank team, please look inot it!
Here is the solution for the problem in c++
include
include
include
using namespace std;
int main() { int a; long b ; char c ; float d ; double e ;
}