Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
solution_problem4
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 #include <iostream> int main() { int num; int total=0; int remnainder; cout<<"oprogram of coverting decimal binary "; cout<<"enter number to be cinverted to binary "; cin>>num; do{ rem=num%2; total=total+(i*remnainder); i=i*10; } while(num>0) { cout<<"so the binary number is "<<total; } }
run
|
edit
|
history
|
help
0
narrow_cast
1
sample ptr and obj ex
DCapSurfaceDesc
Visual Studio expand modified
vc++ bug?
test
hyy
Problem_rstring_1
Use std::is_base_of to subset STL container contents.