- breakfast 9 to 10am :).
- class download C++ 32bit in forum(turbo).
- study blog-spot in class :) :) best..
- first step.. :)
- register G.Mail.
- create your blog.
- name your blog.
- start blogging.
- dashboard & create blog.
- design nice go to( btemplates.com/tag/education.xml)
- INTRODUCTION CHAPTER 3.
- DATA TYPE & VARIABLE.
- The C++ character set.
- keyword
- BASIC DATA TYPE.
- integer data type.
- floating point data.
- character data type.
- size of operator.
- identifier.
- variable.
- dector variable.
- initializing variable.
- constants.
- othr data type.
- FINISH,& do weekly reflection 3 in forum FOP by group.
- smua ahli hadir.
- next week 15/2/2011 no class cz maulidir rasul :)
- homework di by group & send in forum FOP.
- today class only 4 hour...best :):):)
EXERCISE WEEK3 by group in class FOP.
#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;
}
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;
}
Please put the screenshot of your programming. (printscreen). also the output of programming ya! :) Please include your notes and exercises that i given to you since from algorithm, pseudo code, flow chart and coding. I already gave u a lots of exercises...dont miss it! Make sure you completed your blog before mid-term exam.
ReplyDelete