How to Multiply tow numbers in C++?
#include<iostream> using namespace std; int main() { double a,b; cout<<"Enter the value of a="<<endl; cin>>a; cout<<"Enter the value of b="<<endl; cin>>b; cout<<"The result is="<<a*b<<endl; return 0; }
#include<iostream> using namespace std; int main() { double a,b; cout<<"Enter the value of a="<<endl; cin>>a; cout<<"Enter the value of b="<<endl; cin>>b; cout<<"The result is="<<a*b<<endl; return 0; }
Copyright © 2020 Coder's Library
Yay!