Jump to content
Forumu Destekleyenlere Katılın ×
Paticik Forumları
2000 lerden beri faal olan, çok şukela bir paylaşım platformuyuz. Hoşgeldiniz.

php yardım acil


Dynun

Öne çıkan mesajlar

arkadaşlar arkadaşın ödevi varmış yarına.
2 gün önce farketmiş bu seçmeli seçmediği için extra ders dayadıklarını.
4 parçadan oluşan ufak bi ödev var. 4. parça biraz yazması uzundur heralde ben de çok bilmiyorum. değil aslında da
yardım edebilecek var mı pek hakim olamadım.
sene uzatmasın boku bokuna. sorumsuzluğunu geçtim hadi
Link to comment
Sosyal ağlarda paylaş

ne biliyim buraya döşemiyim dedim.
şöyle :


1)
Make a table consisting of numbers from 1-1000. It should be possible to change the number easily in the php code if this would be desirable

a) All even numbers shall be blue
b) All odd numbers will be red
c) All square should be purple
d) All prime numbers should be yellow


2)
You should make a blood alcohol calculator in PHP. This will calculate how much promil after a certain intake. See the formula below how this is caluclated:

For women: alcohol in grams / (body weight in kg x 60%) - (0.15 x hours of drinking starts) = promil
For men: alcohol in grams / (body weight in kg x 70%) - (0.15 x hours of drinking starts) = promil

It should be possible to choose the gender and the type(s) of alcoholic drink(s) that have been consumed.

Alcohol gram per glass
Beer 18g
Wine 10g
Light Beer 7g
Champange 8g

3)
You will create a multiple choice test. The theme will be PHP and each question will have four alternative answers, of which only one is correct. Total should be 10 questions and each question will be on their own page(with response options). When the user has gone through the test, all 10 questions will be summarized and provided feedback. For example, "10/10, you are a PHP-star ☺"
((((To semys friend, on this assignment just pick basic questions about PhP. Like:
Page 1)
What is PhP?
1) Programming language
2) A gameboy
3) Your mom
4) A superstar
Page 2)
Do you have to install PhP on a webserver to support it?
1) Yes
2) No
3) Maybe
4) Your mom
AND SO ON))))))))

4)
You must create a shopping cart solution for a newly store that sells clothes. Customer shall be listed last in the form of named links. You can hard code them for clarity or put it in a database (which is most natural).
- What kind of state of preservation, you'll use in this case? Justify your answer.
- Create a page that lists some products. There should be a button or a picture of a shopping cart next to each item, and when clicked, the number of this product in the customer's shopping cart updated. Each time the customer adds items in your shopping cart, this should be recorded and the number is updated.
- Ensure the user will press the button to show that the product is registered, while the same page displayed. Customize the solution to do this.
- Makes it possible for the customer to check the contents of your shopping cart. Each item should be listed along with the number and possibly a unit price and total price.
- It may be that the customer will order 100 items of one kind. There is little use to force the customer to click 100 times on the correct product key. Create a functionality that makes it possible to update the number directly by typing in a text field.
- It must be possible to empty the basket for the content.
- If the customer wants to buy the goods, it should print a confirmation screen containing products, prices, tax and total.



her ödev ayrı sayfa tabi haliylen
Link to comment
Sosyal ağlarda paylaş

×
×
  • Yeni Oluştur...