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
#include<iostream> | |
#include<cstdlib> | |
#include<string> | |
using namespace std; | |
string rRandom(int x){ | |
string name; | |
switch(x){ | |
case 0: | |
name = "don't"; |
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
// Online C++ compiler to run C++ program online | |
#include <iostream> | |
using namespace std; | |
int decToBinary(int n) | |
{ | |
// array to store binary number | |
int binaryNum[32]; | |
// counter for binary array |