da abes wt 1st exercise, miss bg 2nd exercise plakk.. yg first td tuh tade markah ponn.. sj je na refresh otak kmi kmi niyy.. yg 2nd plak kne wt nan group mseng mseng..amek markah laktuhh.. tyme tuh cume ade 4group tmasok group aq saly.. so the best group akn dpt 4marks, 2nd dpt 3marks, 3rd dpt 2marks n the last group akn dpt 1marks.. mseng mseng kne bjuang na dpt kn 4marks tuhh.. hmm soklan yg miss bg 1 jer.. same jer utk sume group.. aq tunjuk soklan dy k..
Exercise 2 :
Bahasa melayu=
Bahasa inggeris=
Matematik=
Sains=
Total=
Average=
Formula :
total=bm+bi+math+sains
average=total/4
kt ats niy soklan yg miss bg.. lw kw hebat, try la wt :P lw tataw na wt, tgok jwpn aq bg kt bwh niy k, pastuh try la paham kn (: ..eh lupe na ckp.. jwpn dy bukan hand writting tw.. tp typing kt Turbo c++ yg miss da install kt pc kt lab cosmo.. leceh tw taaaaak ! sala siket pon tiade maaf bg mu.. sbb nye komputer kn takder prasaan.. fuuhhh menyampah !
OK niy step na wt jawapan :
1) Go to my computer
2) Choose Local Disk (C:)
3) Click folder TC > folder BIN
4) Click TC application
5) If your windows can't support this system for full screen, just ignore MS-DOS Subsystem table
(terime jela screen yg comel loteh kecik na mampos tuhh)
6) After open the Turbot C++ , click file > new > type your group coding
7) Answer for exercise 2
8) Don't forget to save the coding
9) To compile, go to compile menu and click compile
10) Press any key
11) If you make any mistake, syntax error will appear
12) To run, go to run menu and click run
haaa.. mcm tuh la cre na wt jwpn utk soklan kt ats td.. leceh kn?? hmm aq nye group dpt 3 marks je sbb ktorang byk sala.. asek asek syntax error.. pning pale na crik part mne yg ktorng wt sala.. tp end up dpt jgk.. even group laen da ade yg betol dr td.. so group aq yg mcm owg jakon, tjerit jerit jd 2nd group yg bjaye wt.. ok ape.. kire hebat jgk la kan?? hahaha tol tak geng? yg kt ats uh jwpn lw typing dlm Turbo C++.. table tuh kcik sgt n ta bp na clear.. so aq bg jwpn lw hand writting k..
#include<iostream.h>//header
main()//start body
{//open curly bracket
float bm;
float bi;
float math;
float sains;
float total;
float average;
//input 1
cout<<"bahasa melayu=";
cin>>bm;
//input 2
cout<<"bahasa inggeris=";
cin>>bi;
//input 3
cout<<"matematik=";
cin>>math;
//input 4
cout<<"sains=";
cin>>sains;
//formula
total=bm+bi+math+sains;
//output
cout<<"total="<<total;
//formula
average=total/4;
//output
cout<<"average="<<average;
return 0;
}//close curly bracket
//end body
tq 4 upload...
ReplyDeletecomel la pe y yanie tulis tuh...
hahaha bole thn mengarot kn..
ReplyDeletelw ade pape yg kurang, gtw k??