Selasa, 8 Februari 2011

ape plak ari ni????....9/2/2011

hari nie aku masuk lambat...ape xnye perut ku lapar sangat.....g makan dulu sebelum masuk class....fuhhh kenyang giler xterkira....masuk je class ada soklan...fuhh...soalan mencabar minda....hehhehehee...so aku, ain, chacha n ayu group terakhir dan kami semua dapat soklan terakhir...
Exercise 3:
Modulus two float members, num1 & num2 with using the formula below:-
              formula: modulus=num1%num2


#include<iostream.h>//header
main( )//start body
{//open curly bracket
//declare variable
float num1;
float num2;
//input1
cout<<num1=";
cin>>num1;
//input2
cout<<num2=";
cin>>num2;
//formula
modulus=num1%num2;
//output
cout<<"modulus="<<modulus;
return 0;
}//close curly bracket
//end body

next step miss suruh duk dalam kumpulan untuk buat dlm sistem plak....kite tengok group sapa yang menang...hehehehehe...sshlah juga nak buat dlm sistem tp xpe blaja dr ssh...bru dpt senangnye...huhuhuhuhu...kitorang dah buat tp ada yang salah...walauapapun kitorang dapatlah 3markah....alorr sikitnye....hehhehehe...xpe kalah dulu....janji faham apa yg kite buat...
soalan miss bg berbunyi begini....ewahhh...:-

exercise in group...

bahasa melayu=
bahasa inggeris=
matematik=
sains=

total=
average=

formula: total=bm+bi+math+sains
            average=total/4

pas ue miss bagilah cecara nak buat dlm sistem.....ni dia latih tubi....huhuhuhu...ssh mmg ssh tp enjoy buat ni....rasa cam nak tukar cite-citeku nak jadi programming....hahahhahahahaha...lawak..lawak..lawak....apapun mencabar juga mindaku yg cukup kerdil ini....namun harusku tempuhi jua...hehehehe....walaupun ada salah sikit2 tu biaselah adat manusiakan....tp belajar dr kesilapan.....yok nengok camner aku buat...get ready....1..2..3...gooo!!!!!!!

step-stepnye....
1) open your computer-go start button-choose and click COMPUTER:
2) double-click LOCAL DISK (c:):
3) choose and double click folder TC:
4) choose and double-click folder BIN:
5) choose and double-click folder TC again:
6) click IGNORE to open the TURBO C++:
7) after turbo c++ open, click FILE and choose NEW:
8) after this, enter your group coding:
9) to look the result, click COMPILE MENU and choose COMPILE:
10) COMPILING box appear the error coding and press any key to show:
11) the error coding was display, double-click the error:
12) the TOTAL and AVERAGE is error because is not input:
13) it is the true answer, no input TOTAL and AVERAGE in the coding:
14) click COMPILE again in compile menu:
15) press any key in COMPILING box:
16) double-click the error #2 :


17) the error is no semikolon on the end word in coding:
18) COMPILE again until the coding no more error:
19) after compiling box appear, in the total error have 0:
20) press any key for appears the result and in box message no error:
 21) save as the coding, click FILE and choose save as:
22) enter your group name and click OK button:
23) the file change name to TERRAGON file:

24) click RUN menu and choose RUN:
25) the turbo c++ box appear:
26) enter the number in the box n press ENTER button:

27) press ENTER button again for show the total and average:



Tiada ulasan:

Catat Ulasan