#include < iostream.h >
main()
{
//declaire variable
int multiply, num1, num2;
cout<<"Muhammad FIrdaus Bin Hasmi" << endl;
cout<<"05-201006-00003" << endl;
//input1
cout<<"\nPlease insert number 1 = ";
cin>>num1;
//input2
cout<<"Please insert number 2 = ";
cin>>num2;
//formula
multiply = num1 * num2;
//output
cout<<"\nThe answer is = " << multiply << endl << endl;
return 0;
}
No comments:
Post a Comment