Skip to content

Instantly share code, notes, and snippets.

View paintedpotato's full-sized avatar
💭
Mandazi on my mind

paintedpotato

💭
Mandazi on my mind
View GitHub Profile
@paintedpotato
paintedpotato / speakingintongues.cpp
Created May 9, 2024 11:23
Hydrogen to Calcium in Binary
// 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
@paintedpotato
paintedpotato / RandResponse.cpp
Created February 12, 2021 10:07
Random Responses - based on question
#include<iostream>
#include<cstdlib>
#include<string>
using namespace std;
string rRandom(int x){
string name;
switch(x){
case 0:
name = "don't";