Thursday, December 5, 2024

DIVISION C++ program

 NALLAMUTHU GOUNDER MAHALINGAM       COLLEGE

                      POLLACHI-642001

                                                   N.DHIVYA

                                 BSC COMPUTER SCIENCE(1st year)

                             4.Division

#include <iostream>

int main()

{

    int a,b,c;

    std::cout<<"Division"<<std::endl;

    std::cout<<"Enter the two numbers:"<<std::endl;

    std::cin>>a>>b;

    c=a/b;

    std::cout<<"The answer is:"<<c;

    return 0;

}

OUTPUT:



USD TO INR C++ PROGRAMMING

  NALLAMUTHU GOUNDER MAHALINGAM COLLEGE                                                 POLLACHI-642001                                     ...