We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Question 01:                   (Marks: 05)

 

Write a small program (Code) in PHP language which declares a variable that stores some amount and calculate the “Zakat” on this amount.

 

Note: The “Zakat” can be calculated through formula “(Amount * 2.5)/100”

 

 

Question 02:                   (Marks: 10)

 

 

The associative Array in PHP language can be define/declare through Array() function and can take any number of key-value pairs. The indices/keys of an associative array can be numeric or string.

 

Write a small program (Code) in PHP language which declares an array of five students named “Student”. The key/index of this array would be students’ roll numbers while the values would be their names. Also print students’ names on the screen.

Sample output:

                  Student 1:  Ahmed Ali

                  Student 2:  Ikram

                  Student 3:  Sumair       

                  Student 4:  Imran

                  Student 5:  Shabeer

 

 

Question 03:                   (Marks: 05)        

 

Write a small program (Code) in PHP language using for loop which prints from 1 to 100.

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 1059

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

Thanxs.

RSS

Latest Activity

+++LEARNER+++ posted a discussion
23 minutes ago
jan updated their profile
23 minutes ago
Freelancer posted a discussion
32 minutes ago
+ ! ! ! ! ! ! ! ! ! AG liked + ! ❤INNOCENT❤'s discussion Akhri Salam Smjh kr
57 minutes ago
+ ! ! ! ! ! ! ! ! ! AG liked +++LEARNER+++'s discussion Naseeb
58 minutes ago
+ ! ! ! ! ! ! ! ! ! AG liked ♦_"Tooba"_♦'s discussion Khuwahish Se Nahi Girte Phal Jhooli Main...
58 minutes ago
+ ! ! ! ! ! ! ! ! ! AG liked ♦_"Tooba"_♦'s discussion Guzri Howi Zindagi Ko Kabhi Yaad Na Kr
58 minutes ago
♦_"Tooba"_♦ posted discussions
1 hour ago
♦_"Tooba"_♦ posted a status
"Every successful person has painful story. Every painful story has a successful ending. Accept the pain and get ready for success."
1 hour ago
++!!! Drama Queen updated their profile
1 hour ago
+++LEARNER+++ replied to ♦_"Tooba"_♦'s discussion Khuwahish Se Nahi Girte Phal Jhooli Main...
1 hour ago
+++LEARNER+++ replied to +++LEARNER+++'s discussion Naseeb
1 hour ago
彡JK彡 ❤️ liked + "αяsαℓ " Ќąƶµяɨ •"'s discussion Muhabato me li gaye kasmain
1 hour ago
彡JK彡 ❤️ liked +++LEARNER+++'s discussion Naseeb
1 hour ago
+ ! ! ! ! ! ! ! Captain+ replied to +++LEARNER+++'s discussion Naseeb
2 hours ago
+++STUDENT+++ replied to +++LEARNER+++'s discussion Naseeb
2 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Muhabato me li gaye kasmain
2 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Muhabato me li gaye kasmain
2 hours ago
+ "αяsαℓ " Ќąƶµяɨ •" replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Muhabato me li gaye kasmain
2 hours ago
+AAg❤️ liked +++STUDENT+++'s discussion jumma mubark
2 hours ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service