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

 

Instructions:

 

Please read the following instructions carefully before submitting assignment. It should be clear that your assignment will not get any credit if:

 

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file is corrupt.
  • Assignment is copied (partial or full) from any source (websites, forums, students, etc.)

 

Note: You have to upload only .doc or .docx file. Assignment in any other format (extension) will not be accepted and will be awarded with zero marks.

 

Objective:

 

The objective of this assignment is to provide hands on experience of:

 

  • Taking decisions with If – else statements
  • PHP looping structures

 

 

 

 

 

 

 

 

 

 

For any query about the assignment, contact at CS310@vu.edu.pk

 

 

 

 

Problem Statement:

 

Write a PHP program that will print following information on screen / console;

 

It is assumed in all cases that user is entering a valid input. If “1” is entered as choice then your program will flow as shown in screen; (Assume 0 != 1)

 

If option “2” is selected by user then the flow of program is as follows:

 

 

Instructions:

 

1)      You are bound to use if-else structure in option selection

2)      Loops are used to calculate factorial and table for entered number

3)      It is assumed that user entered correct value every time in program execution, so there’s no need of input verification

4)      Program must wait for user input

5)      User input will be stored in a variable for further calculations

6)      After successfully running your program, take the screenshot of the output and paste it in your solution file

7)      Your solution file will be a single Word file (.doc or .docx) containing two things:

  1. Complete code written in Word
  2. Output Screenshots (One for each functionality. 1 x 3 = 3 Screenshots)

 

8)      You can use Consolas font for enhancing readability of the code in Word file.

 

 

Best of Luck!

 

 

 

+ Click Here To Join also Our facebook study Group.

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


See Your Saved Posts Timeline

Views: 859

.

+ 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?)

Attachments:

Replies to This Discussion

Please Solution\

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.

 

Note:-

For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.

&

.•°How to Download past papers from study groups°•.

 

Please Click on the below link to see…

.... How to Find Your Subject Study Group & Join .... 

 

P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

need solution please

need help, need solution

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

RSS

Latest Activity

Today Top Members 

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

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