belongs to collection: C++ Language Basic programs with examples
#include<iostream> using namespace std; int main() { double num1; double num2; double total; cout << "Enter first number :"; cin >> num1; cout << "Enter second number :"; cin >> num2; total = num2 * num1; cout << "Total is :" << total; return 0; }
Result:
Enter first number :50.4
Enter second number :30.8
Total is :1552.32
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Result:
Enter first number :50.4
Enter second number :30.8
Total is :1552.32
need an explanation for this answer? contact us directly to get an explanation for this answer