Vcoderz Community
We create websites that have it all, beauty & brains
Lebanon Web Design & Development - Coddict
 

Go Back   Vcoderz Community > Computer Zone > Computers & Information Technologies

Notices

Computers & Information Technologies « Everything related to computers and internet. »

Reply
 
Share Thread Tools Search this Thread
Old 10-21-2006   #1
Mr.juste
Registered Member
 
Mr.juste's Avatar
 
Last Online: 11-18-2011
Join Date: Mar 2006
Posts: 966
Thanks: 46
Thanked 405 Times in 379 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default for all C++ pro

this is my assignment for monday w ma 3refet a3moul shi menno :s

its only the basic of C++ w it doenst want to be complicated bass walla sharbakle mokhe
if someone can help i know that for C++ pro ma baddo shi... so plz help




Description

The first three minutes of an international telephone call cost $8.
Each additional minute costs $4.

On the other hand, each loacal telephone call costs 2$ per minute plus 10% taxes on the total.

Given the length of a call in minutes and the type of the call(local or international), write a program that calculates and prints the total cost of the call. Additionally, your program should compute the number of 100$ ,50$,20$,10$,5$, 1$ bills to be payed for the call.

The program input includes:
  • The length of a call in minutes
  • The type of the call: The user will input 1 for Local and 2 for International.
The program output includes:
  • the total amount to be payed
  • The number of bills to be given from each category.
Use integer (int) data type for all your variables, do not worry about truncations.


__________________
التّاريخ لا يرحم, الشّعب لا يرحم و الله لن يرحم أمثالكم
ان الاصلاح لا يمكن ان ينجز بصانعي الفساد
http://img110.imageshack.us/img110/8...4311797ka8.gifلا عمالة ولا عمولة ولا دم
Mr.juste is offline   Reply With Quote
Old 10-21-2006   #2
AmEr
Registered Member
 
AmEr's Avatar
 
Last Online: 10-26-2010
Join Date: Sep 2006
Posts: 150
Thanks: 0
Thanked 13 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: for all C++ pro

man assignment sahel bas lmeshkli eni ma blahe2 etzakaron men hala2 la monday
sarli she 2 yrs mesh shagel C++
__________________
لتبقى رؤوسكم شامخة كشموخ أرز لبنان
AmEr is offline   Reply With Quote
Old 10-21-2006   #3
alex_scorpions
Registered Member
 
alex_scorpions's Avatar
 
Last Online: 04-15-2018
Join Date: Mar 2006
Posts: 487
Thanks: 112
Thanked 141 Times in 126 Posts
Groans: 1
Groaned at 0 Times in 0 Posts
Default Re: for all C++ pro

ana kenet se3adtak law bo2dar bas l problem enno haydik l seneh kenent en2oul l codes wa2et l fa7es
__________________
^^
I Wrote This
alex_scorpions is offline   Reply With Quote
Old 10-21-2006   #4
Mr.juste
Registered Member
 
Mr.juste's Avatar
 
Last Online: 11-18-2011
Join Date: Mar 2006
Posts: 966
Thanks: 46
Thanked 405 Times in 379 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: for all C++ pro


someone help plzzzzzzz

i count on u guys plkzz
__________________
التّاريخ لا يرحم, الشّعب لا يرحم و الله لن يرحم أمثالكم
ان الاصلاح لا يمكن ان ينجز بصانعي الفساد
http://img110.imageshack.us/img110/8...4311797ka8.gifلا عمالة ولا عمولة ولا دم

Last edited by Mr.juste; 10-21-2006 at 11:33 AM.
Mr.juste is offline   Reply With Quote
Old 10-21-2006   #5
god
Registered Member
 
god's Avatar
 
Last Online: 02-14-2010
Join Date: Mar 2006
Posts: 846
Thanks: 71
Thanked 293 Times in 217 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: for all C++ pro

i cant believe it... i forgot c++ cz i rarely use it, bas you can write this kinda program in less than 10 minutes just use google for the commands and code it... read this http://hellboundhackers.org/readarti...article_id=368 and learn to use if then conditionals, w code it......
__________________
--Capitalisation is the only difference between "I helped my uncle Jack off a horse" and "I helped my uncle jack off a horse" !!
http://img482.imageshack.us/img482/4889/hell7ta.jpg
god is offline   Reply With Quote
Old 10-21-2006   #6
AmEr
Registered Member
 
AmEr's Avatar
 
Last Online: 10-26-2010
Join Date: Sep 2006
Posts: 150
Thanks: 0
Thanked 13 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: for all C++ pro

its not hard
it depends on if then else condition
but really i forget the commands
try it its easy
i can help u with the algorithm and the sructures but the code and commands i forget them
__________________
لتبقى رؤوسكم شامخة كشموخ أرز لبنان
AmEr is offline   Reply With Quote
Old 10-21-2006   #7
Mr.juste
Registered Member
 
Mr.juste's Avatar
 
Last Online: 11-18-2011
Join Date: Mar 2006
Posts: 966
Thanks: 46
Thanked 405 Times in 379 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: for all C++ pro

10x god for the link ...
ok can u right me the structure... i think it will be easier for me..bdall khabbis shwe.
10x anyway
__________________
التّاريخ لا يرحم, الشّعب لا يرحم و الله لن يرحم أمثالكم
ان الاصلاح لا يمكن ان ينجز بصانعي الفساد
http://img110.imageshack.us/img110/8...4311797ka8.gifلا عمالة ولا عمولة ولا دم
Mr.juste is offline   Reply With Quote
Old 10-21-2006   #8
hasan_00
Registered Member
 
hasan_00's Avatar
 
Last Online: 06-26-2008
Join Date: May 2006
Posts: 275
Thanks: 14
Thanked 23 Times in 22 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: for all C++ pro

i wouldve helped you but i worked once on java.not c sorry.
__________________
ان أي يد ستمتد الى سلاحنا هي يدا صهيونية سنقطعها
بنصرالله و عونهُ
hasan_00 is offline   Reply With Quote
Old 10-21-2006   #9
GMA_FOR_EVER
Vcoderz Team
 
GMA_FOR_EVER's Avatar
 
Last Online: 08-23-2011
Join Date: May 2006
Posts: 134
Thanks: 81
Thanked 85 Times in 46 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: for all C++ pro

Hey MR.Juste I Tried my best As i remember (From 2 years)

I uploaded a file, It almost complete but u still want to make bill issue..
I did not understand what is it about ??

hope i can help u

Cheers
Attached Files
File Type: txt CPP.txt (1.2 KB, 5 views)
GMA_FOR_EVER is offline   Reply With Quote
Old 10-21-2006   #10
Mr.juste
Registered Member
 
Mr.juste's Avatar
 
Last Online: 11-18-2011
Join Date: Mar 2006
Posts: 966
Thanks: 46
Thanked 405 Times in 379 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: for all C++ pro

10x man really gr8
bass i have to change some codes coz mish kelloun ekhedoun till now ...
10x a lot
__________________
التّاريخ لا يرحم, الشّعب لا يرحم و الله لن يرحم أمثالكم
ان الاصلاح لا يمكن ان ينجز بصانعي الفساد
http://img110.imageshack.us/img110/8...4311797ka8.gifلا عمالة ولا عمولة ولا دم
Mr.juste is offline   Reply With Quote
Reply

  Vcoderz Community > Computer Zone > Computers & Information Technologies

Tags
pro



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:16 AM.


Lebanon web design and development
Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Share