Friday, February 25, 2011

Weekly Reflection 3

Tue Feb 08, 2011

-Breakfast 9am-10am.
-Miss suruh Download TURBO C++ 32bit di forum.
-Tp ada problem sikit time download tu.. so class start lambat sikit because of that.
-Miss aku dah kelam kabot, die start class dlu..dalam masa yg sama still men-download (>,<)
-1st miss ajar macam mana nk Register, manage, and settingkan  blogspot.
-Da settle bagi tutorials pasal blog, miss bagi latihan Coding C++ :

1. Calculate 3 numbers with using the formula below :-
calculate = (num1*num2)-num3+(num2/num1)
ANSWER:


#include<iostream.h>
main()
{
//declare variable
float num1,num2,num3,calculate;
//input1
cout<<"Enter Num1";
cin>>num1;
//input2
cout<<"Enter Num2";
cin>>num2;
//input3
cout<<"Enter Num3";
cin>>num3;
//formula
calculate=(num1*num2)-num3+(num2/num1);
//output
cout<<"Answer is="<<calculate;
return 0;
}



*Mesti korang pelikkan mana pergi Weekly Reflection 2 aku ? tetibe je skip Weekly Reflection 3.. haha sebabnye minggu ke-2 aku tak datang class.. Emergency Case !! ( BANGUN LAMBAT)

No comments:

Post a Comment