C++ program

C++ program to find solution of equation  a*b(-c*31%13)*d

Write a program to solve equation

c++ prgram, c++ code, program to solve equation


source code:


// C++ code to solve equation a*b(-c*31%13)*d
#include <iostream> //  iostream provides basic
// input and output services for C++ programs
using namespace std;
int main()// Th execution of program start with the main function 

{
    int a,b,c,d;
    cout<<"Please Enter the value of a , b , c and d"<<endl;
    // cout is used to display the same statement in the output.
    cin>>a>>b>>c>>d;//// Cin used to enter a value by the user.
    // Formula
    cout<<a*b*(-c*31%13)*d;
}