Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- int main(int argc, char* argv[])
- {
- int num=0,rem;
- cout<<"Enter a Number:\n";
- cin>>num;
- /*
- Your code goes here
- */
- cout << oct;
- cout<<"Octal number:\n" << num;
- }
Advertisement
Add Comment
Please, Sign In to add comment