Thursday, December 5, 2024

MATHS FORMULA C++ program

  NALLAMUTHU GOUNDER MAHALINGAM       COLLEGE

                      POLLACHI-642001

                                                   N.DHIVYA

                                 BSC COMPUTER SCIENCE(1st year)

                          5.Maths formula

#include <iostream>

int main()

{

    float a;

    std::cout<<"Two values using formula=";

    a=0.01;

    int b;

    b=4;

    double c;

    c=b/(1-a);

    std::cout<<c;

    return 0;

}

OUTPUT:





USD TO INR C++ PROGRAMMING

  NALLAMUTHU GOUNDER MAHALINGAM COLLEGE                                                 POLLACHI-642001                                     ...