Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
Override keyword.cpp
#9
My Window
Temp 1
Program_2
Increment pointer to struct
Unicode_write2file
Overload resolve function pointer
reference
MSVC alias template
Please log in to post a comment.