C++ Saved Program: ferrous-af

facebook share

Here's the online compiler accompanied with IDE at your service. This is a saved code by one of our users. Try it out or save your own from the IDE page and don't forget to leave a feedback. You can find that at the bottom of the page.


//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x86
#include <iostream>
#include <cmath>
#include <stdlib.h>
using namespace std;

int main()
{
    // Upper case represented by prime numbers
    double A = 2;
    double B = 3;
    double C = 5;
    double D = 7;
    double E = 11;
    double F = 13;
    double G = 17;
    double H = 19;
    double I = 23;
    double J = 29;
    double K = 31;
    double L = 37;
    double M = 41;
    double N = 43;
    double O = 47;
    double P = 53;
    double Q = 59;
    double R = 61;
    double S = 67;
    double T = 71;
    double U = 73;
    double V = 79;
    double W = 83;
    double X = 89;
    double Y = 97;
    double Z = 101;
    
    //Lower case represented by Fibonacci numbers
    double a = 1;
    double b = 1;
    double c = a+b;
    double d = a+b+c;
    double e = c+d;
    double f = d+e;
    double g = e+f;
    double h = f+g;
    double i = g+h;
    double j = h+i;
    double k = i+j;
    double l = j+k;
    double m = k+l;
    double n = l+m;
    double o = m+n;
    double p = n+o;
    double q = o+p;
    double r = p+q;
    double s = q+r;
    double t = r+s;
    double u = s+t;
    double v = t+u;
    double w = u+v;
    double x = v+w;
    double y = w+x;
    double z = x+y;
    //numbers represented by composite letters
    //Suffix i.e. A = America = B  = Britain , C = Canada
    //America
    int ZeroA  = Z+e+r+o+A;
    int OneA   = O+n+e+A;
    int TwoA   = T+w+o+A;
    int ThreeA = T+h+r+e+e+A;
    int FourA  = F+o+u+r+A;
    int FiveA  = F+i+v+e+A;
    int SixA   = S+i+x+A;
    int SevenA = S=e+v+e+n+A;
    int EightA = E+i+g+h+t+A;
    int NineA  = N+i+n+e+A;
    //Britain
    int ZeroB  = Z+e+r+o+B;
    int OneB   = O+n+e+B;
    int TwoB   = T+w+o+B;
    int ThreeB = T+h+r+e+e+B;
    int FourB  = F+o+u+r+B;
    int FiveB  = F+i+v+e+B;
    int SixB   = S+i+x+B;
    int SevenB = S=e+v+e+n+B;
    int EightB = E+i+g+h+t+B;
    int NineB  = N+i+n+e+B;
    //Canada
    int ZeroC  = Z+e+r+o+C;
    int OneC   = O+n+e+C;
    int TwoC   = T+w+o+C;
    int ThreeC = T+h+r+e+e+C;
    int FourC  = F+o+u+r+C;
    int FiveC  = F+i+v+e+C;
    int SixC   = S+i+x+C;
    int SevenC = S+e+v+e+n+C;
    int EightC = E+i+g+h+t+C;
    int NineC  = N+i+n+e+C;
    
    cout<<"Britain's Numerical Values "<<endl;
    cout<<"Zero   = "<<ZeroB<<endl;
    cout<<"One    = "<<OneB<<endl;
    cout<<"Two    = "<<TwoB<<endl;
    cout<<"Three  = "<<ThreeB<<endl;
    cout<<"Four   = "<<FourB<<endl;
    cout<<"Five   = "<<FiveB<<endl;
    cout<<"Six    = "<<SixB<<endl;
    cout<<"Seven  = "<<SevenB<<endl;
    cout<<"Eight  = "<<EightB<<endl;
cout<<"Nine   = "<<NineB<<endl<<endl;
    
    int cytasineB = c+y+t+a+s+i+n+e+B;
    int CYTASINEB = C+Y+T+A+S+I+N+E+B;
    int CytasineB = cytasineB|CYTASINEB;
    cout<<CytasineB<<endl<<endl;

    /*
    Fisix
    */
    double DEN = M/pow(R,3);
    double DC  = 2*F/(DEN*3.142*pow(U,2)*pow(C/f,2));
    double N1  = 1/N;
    double METRIC = pow(DC,N1);
    cout<<METRIC<<endl;
    
    double den = m/pow(r,3);
    double dc  = 2*F/(den*3.142*pow(u,2)*pow(c/f,2));
    double n1 = 1/n;
    double metric = pow(dc,n1);
    cout<<metric<<endl;
    
    double MetricB = METRIC+metric;
    cout<<MetricB<<endl;
    
    //Number of nucleotides,CytasineB
    int NCytasineB = CytasineB/MetricB;
    cout<<"Nucleotides CytasineB = "<<NCytasineB<<endl;
    
    /*
    The stretched DNA strand forms a LADDER used to extricate one from the HOLE created
    by fizisists of the past.
    My preferred LADDER(H) is the NCytasineB.
    NHCB = NCytasineB = 61721
    */
    int NHCB = NCytasineB;
    /*
    Set in order BCHN = 11267
                 NHCB = 76211
    */
        NHCB = 76211;
    int BCHN = 11267;
    int CladderB = NHCB&BCHN;//& = AND
    cout<<"CladderB = "<<CladderB<<endl;
    /*
    & = AND = CladderB = 10243
    dna = 01234
    DNA = 43210
    And = DNA&dna
    */
    
int dna = 01234;//code
int DNA = 43210;//CODE
int And = DNA&dna;//Code
cout<<"And = "<<And<<endl;
//And = 136
int Or = DNA|dna;
cout<<"Or = "<<Or<<endl;
//Or = 43742
//AndOrCode = 136 43742 = CstrandB => CstarandB = *&B = (1*3*6)&(4*3*7*4*2)
int CstrandB = (1*3*6)&(4*3*7*4*2);//0
int CsortedB = (1+3+6)|(4+3+7+4+2);
cout<<"CsortedB = "<<CsortedB<<endl;
/*
CsortedB = 30 = Zn = zinc = thinc(hintc = clue)
clueB = cBlue = cyanB = anyBc = Britisch => Brit i schedule => Brit pipe schedule
PipeSchedB
*/
int PipeSchedB = CsortedB;
cout<<"Pipe Schedule Brit = "<<PipeSchedB<<endl;
/*
Diameter      = 30 inch
Wall Thicknes = 15.875 mm
*/

return 0;    
}
Execute

Output

Press the execute button or CTRL + enter to run code.

Inputs