Soklannye...
Multiply and divide two FLOAT numbers with using the formula below:
multiply=num1*num2
divide=num2/num1
jawapannye pulak...
Flow chat
#include
main()// start body
{// open curly bracket
//declare variable
float num1;
float num2;
float multiply;
float divide;
//input 1
cout<<"enter num 1"; cin>>num1;
//input 2
cout<<"enter num 2"; cin>>num2;
//formula
multiply=num1*num2;
//output
cout<<"multiply="<
divide=num2/num1;
//output
cout<<"divide="<
}//close curly bracket
//end body
No comments:
Post a Comment