![]() |
|
|
#1 |
![]() Anëtarësuar: Dec 2005
Vendndodhja: Mf USA
Mosha: 22
Postime: 125
Rrespekti: 3
![]() |
Programe ne C++
Meqe eshte gjuha qe kam studiuar po vendos ketu ca programe qe kam bere.
Do filloj me ata me te thjeshtit... Programi i meposhtem llogarit shpejtesine mesatare, distancen dhe kohen per sa keni vrapuar nje milje(per ata qe vrapojne) ![]() #include <iostream> #include <iomanip> using namespace std; int main () { float laps, time, speed, distance, aver; cout << fixed<< setprecision(2); cout <<"Enter the number of laps you run \n" ; cin >> laps; cout << "Enter the time of your run in seconds \n"; cin >> time; distance=0.1456439 *laps; speed=distance/3600*time; aver=distance/60*time; cout <<"Your total run length for today is " <<distance<< "miles. \n"; cout <<"You have been running with the speed of " <<speed<< "mph. \n"; cout <<"You runned a mile in " <<aver<< "minutes. \n"; return 0; } |
|
|
|
|
|
#2 |
![]() Anëtarësuar: Dec 2005
Vendndodhja: Mf USA
Mosha: 22
Postime: 125
Rrespekti: 3
![]() |
#include <iostream>
#include <iomanip> using namespace std; int main() { int value=1, counter=1, cof=0, tea=0, oj=0, lem=0; float perc1, perc2, perc3, perc4 ; while (value!=5) {cout<<"\nEnter your choice. Press: \n 1 for Coffee, 2 for Tea, 3 for Orange Juice, 4 for Lemonade or press 5 to quit."<<endl; cin>>value; switch (value) { case 1: cof++; break; case 2: tea++; break; case 3: oj++; break; case 4: lem++; break; case 5: cout<<"You just decided to quit\n."; break; default: cout<< "Please enter a valid number 1, 2, 3, 4 or 5. Your choice will not be considered."; break; } counter++; } cout<<fixed<<setprecision(2); perc1 =cof*100/(counter-2); perc2 =tea*100/(counter-2); perc3 =oj*100/(counter-2); perc4 =lem*100/(counter-2); counter=counter-2; cout<< "The total number of persons that have been surveyed is " <<counter<<endl; cout<<"The results of the survey: "<<endl; cout<<setw(20)<<"Beverage chosen"<<setw(20)<<"Number of votes"<<setw(21)<<"Percentage"<<endl; cout<<"-------------------------------------------------------------------------------"<<endl; cout<<setw(20)<<"Coffee"<<setw(20)<<cof<<setw(20)< <perc1<<"%"<<endl; cout<<setw(20)<<"Tea"<<setw(20)<<tea<<setw(20)<<pe rc2<<"%"<<endl; cout<<setw(20)<<"Orange Juice"<<setw(20)<<oj<<setw(20)<<perc3<<"%"<<endl; cout<<setw(20)<<"Lemonade"<<setw(20)<<lem<<setw(20 )<<perc4<<"%"<<endl; return 0; } |
|
|
|
|
|
#3 |
|
Anëtarësuar: May 2006
Mosha: 21
Postime: 1
Rrespekti: 0
![]() |
kjo esht nje tem shum e mir por duhet te ket pak me tepr programe
|
|
|
|
|
|
#4 |
|
A mundeni ta postoni programin me te cilin mund te i veme ne funksion keto KODE te cilat jane te dizajnuara me C++ apo me Visaul Basic,,,,
Nese keni mundesi ishte kan mire me dergu lidhjet per shkarkimin e programeve qe nevojiten per C++ ... Ju faleminderit
__________________
...Vo se no Criado... Vo se Creatura ... ...Ti nuk je Krijuesi... Ti je Krijesa...
|
|
|
|
|
|
|
#5 |
|
Nese doni keso programe ne c++ , kam mundesi me postu shum , por mendoj se , kush eshte i interesuar ,le ti kerkon , mandej ia dergoj te gjitha me email ....
|
|
|
|
|
|
|
#6 |
![]() ![]() ![]() Anëtarësuar: Dec 2005
Postime: 2,209
Rrespekti: 5
![]() |
Plasa per te gjet nje program qe te marre youtubet dhe te m'i coje ne kompjuterin tim dhe, me pas prej kompjuterit t'i hedh ne disk (CD).
A egziston nje program i tille? |
|
|
|
|
|
#7 |
![]() ![]() ![]() Anëtarësuar: Dec 2005
Postime: 2,209
Rrespekti: 5
![]() |
|
|
|
|
|
|
#8 | |
|
dEvOuT
![]() ![]() Anëtarësuar: Dec 2007
Vendndodhja: Ne vendin e caktuar
Shteti:
![]() Mosha: 23
Seksi:
Statusi:
![]()
Postime: 821
Rrespekti: 2
![]() |
Citim:
![]() Youtube Get 4.0 Youtube Get 4.0 - 3.6 MB YoutubeGet is an all-in-one software designed to make quick and easy work to download Youtube videos and convert them. Offering a multitude of methods to acquire the video, this application has all the power you need while still remaining small and easy to use. After downloading videos it will auto convert FLV files to MP4, 3GP, AVI, WMV, MOV etc. Code: Vetem anetaret e regjistruar mund te shohin lidhjet. mechodownload
__________________
Arnaut, he arnaut, në vend të bukës po blen barut. KOSOVË Shqiptari kryet e pren dhe besën s'e then.KOSOVË Shqiptari për mik asht tret e asht fik.KOSOVË Çika pa nder, si lulja pa erë. KOSOVË |
|
|
|
|
|
|
#9 |
![]() ![]() ![]() Anëtarësuar: Dec 2005
Postime: 2,209
Rrespekti: 5
![]() |
Shume faleminderit Loyalx.
E hapa linkun qe ke sjelle, por egzakt nuk di sesi te veproj aty. Perseri faleminderit Loyalx. Herën e fundit është Redaktuar nga Kontinenti : 30-12-07 në 04:59. |
|
|
|
|
|
#10 | |
|
dEvOuT
![]() ![]() Anëtarësuar: Dec 2007
Vendndodhja: Ne vendin e caktuar
Shteti:
![]() Mosha: 23
Seksi:
Statusi:
![]()
Postime: 821
Rrespekti: 2
![]() |
Citim:
![]() Nuk po din si me shkarku nga rapidshare.com apo ndonje problem tjeter ?
__________________
Arnaut, he arnaut, në vend të bukës po blen barut. KOSOVË Shqiptari kryet e pren dhe besën s'e then.KOSOVË Shqiptari për mik asht tret e asht fik.KOSOVË Çika pa nder, si lulja pa erë. KOSOVË |
|
|
|
|
|
|
#11 |
![]() ![]() ![]() Anëtarësuar: Dec 2005
Postime: 2,209
Rrespekti: 5
![]() |
Kur shkova atje, nuk dija si te veproja.
|
|
|
|
|
|
#12 |
|
dEvOuT
![]() ![]() Anëtarësuar: Dec 2007
Vendndodhja: Ne vendin e caktuar
Shteti:
![]() Mosha: 23
Seksi:
Statusi:
![]()
Postime: 821
Rrespekti: 2
![]() |
Shkon ne fund te faqes e ki nje opcion FREE, klikon aty pastaj hapet faqja tjeter dhe pret disa sekonda, hapet nje kod 4 shifror shkrun kodin pastaj download, kur ta donwlodon ta kerkon nje password dhe e shkrun MECHODOWNLOAD me shkronja t'vogla Pastaj cka ki problem munde te me besh nje mesazh ne PV ... KLM... Kontinenti ![]()
__________________
Arnaut, he arnaut, në vend të bukës po blen barut. KOSOVË Shqiptari kryet e pren dhe besën s'e then.KOSOVË Shqiptari për mik asht tret e asht fik.KOSOVË Çika pa nder, si lulja pa erë. KOSOVË |
|
|
|
|
|
#13 | |
|
Anëtarësuar: Jan 2008
Seksi:
Statusi:
![]()
Postime: 1
Rrespekti: 0
![]() |
Citim:
ta di per nder klm![]() |
|
|
|
|
|
|
#14 |
|
thnx loyalx per programin
|
|
|
|
|
|
|
#15 | |
|
Anëtarësuar: Jan 2008
Mosha: 34
Seksi:
Postime: 5
Rrespekti: 0
![]() |
Citim:
dhe nese di ndonje link ku mund te shkarkoj pakon Visual Studio.NET ne kuader te se cilit gjendet C++ ver.7.0 |
|
|
|
|
|
|
#16 | |
|
Anëtarësuar: Jan 2008
Mosha: 34
Seksi:
Postime: 5
Rrespekti: 0
![]() |
Citim:
te falenderoj paraprakisht! |
|
|
|
|
|
|
#17 |
|
Anëtarësuar: Apr 2008
Mosha: 16
Seksi:
Statusi:
![]()
Postime: 4
Rrespekti: 0
![]() |
em falni per penges deshta me ju vet dicka a ka naj program nashta e dini qfare po kerjok e jep imellin menjerehere mbrenda 56 minutav ta kthen pergjigjen te vjen pasi se me ka hup nje iemll pasi e kam harruar e i kam pat te familjes krejt do miq e tjer
|
|
|
|
|
|
#18 |
|
Anëtarësuar: Apr 2008
Mosha: 16
Seksi:
Statusi:
![]()
Postime: 4
Rrespekti: 0
![]() |
|
|
|
|
![]() |
| Posto temën në: |
| Veglat e Temës | |
|
|
Tema Të Njëjta
|
||||
| Temë | Nismëtari i Temës | Forumi | Përgjigje | Postimi i Fundit |
| Kerkesa Per Programe!! | LePuRi^KaMiKaZ | Kërkesa | 208 | Sot 08:02 |
| Programe: | L'Ingegnere | Programe | 43 | 12-05-08 13:44 |
| Hey a din naj kush programe per Passworda | Style | Kërkesa | 27 | 10-12-07 00:04 |
| Programe, lojra per celularet. | Admirali | Mobile | 2 | 29-04-07 05:04 |