PAKITULUNGAN PO AKO!!
Solve the following problems.
1. Loma's expenses for Monday was PHP 39.50, Tuesday Php 62.30, Wednesday Php
56.40, Thursday Php 39.50, and Friday Php 45.80. What was her average expenses per
day?
2 Rolly wants to buy a battery-operated toy car which cost P587.50. He already save
P150.00 and his Ninong gave him P200.00, if he saves P12.50 a day from his
allowance, how long will take him to save the rest of the money to buy the toy car?
3. Dantel and Roberto repaired a washing machine and were paid Php 3,675.00. Daniel
worked for 11 hours and Roberto for 9 hours if they were paid per hour, how much
should each receive?
4. Christian and Jerry repaired a broken ratlan bed and were paid Php 1128.00. If Christian
worked 8.5 hours and Jerry for 7.5 hours, how much were they paid per hour?
5. The barangay officals of Barangay Maligaya received 150 sacks of rice weighing 50 kg
each. Three hundred fifty kg were distributed to the flood victims for the barangay. The
rest were repacked in plastic bags of 2.5 kg each to be distributed to the street children
How many street children received a bag of rice?
Share
Answer:
We have a sign-up on the 15th of May (2011-05-15) and an expiration of assumed 30 days (which results in an expiration on 15th of June (2011-06-15).
The PHP calculation could work like this:
$signupDate = strtotime('2011-05-15');
$expiration = 30; //this is in days, lets remember that for later
$expirationDate = $signupDate+($expiration*24*60*60); //calculate the expiration date
$today = time(); //theres no need for using date and strtotime of you just want the timestamp
$daysLeft = floor(($expirationDate-$today)/(60*60*24));
If $daysLeft now has a negative value (which shouldn't happen) his account has expired some time ago. But since the way your application is working this should normally result in a positive value giving you the days left for the users plan.
Step-by-step explanation:
iyqn po ihope it helps
Answer:
sinabi mo na sagot diba sa instagram