Daisypath Anniversary tickers

Daisypath Anniversary tickers

Saturday, March 26, 2011

Soklan for group...

Soklan nih miss bagi tp kene wat ikot group.. soklan nih da upload kt forum.. tp lupe lak nk upload kt blog... huhu.... err... mase nih group kitorg dpt second last.. okeh le tuh...


Bahasa melayu=
Bahasa inggeris=
Matematik=
Sains=
Total=
Average=


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

jawapan seperti berikot...


#include//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="<//formula
average=total/4;
//output
cout<<"average="<return 0;
}//close curly bracket
//end body


miss soh wat dlm C++.. oleh kerane akunye comp nih bengap sangat.. aku x leh nk wat C++.. so aku just typing je la... da pening sangat da nk wat C++ nih camne.. kalo nk tunggu alamat x siap la keje aku.. hukhukhuk...

No comments:

Post a Comment