We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
.+ 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)
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>>
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
Please Click on the below link to see…
P.S: Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”
Write a PHP program that will print your profile and then use string functions to manipulate strings in your profile.
Your profile will contain following attributes:
Complete Name (String)
Father’s Name (String)
Permanent Address (String)
Degree Program (String)
Current CGPA (Float)
Declare variables for above items. Data types are mentioned in brackets. All attributes are self-explanatory.
After declaring variables and initializing them with your own data, print them using echo/print statement. (The output should be like: My name is Umair Mujahid etc.) Use variables in echo/print statement to show them on the screen.
After printing all the attributes, use following string functions:
Calculate and print length of your name using strlen() function
Calculate total word count in permanent address variable using srt_word_count() function
Reverse and print your VUID by using strrev() function
After successfully running your program, take the screenshot of the output and paste it in your solution file.
Your solution file will be a single Word file (.doc or .docx) containing two things:
Complete code written in Word
You can use Consolas font for enhancing readability of the code in Word file.
CS310 1st Assignment Solution
Thanks To Haider ali Uppal
Try your best any ask about any mistake…..
Student ID BC150……
/* Declare Variables*/
$Name="Put you data";
$address="put your address";
/* OutPut */
echo "My Name is ".$Name."<br>";
echo "Father Name: ".$SO."<br>";
echo "Student ID: ".$id."<br>";
echo "Permanent Address:".$address."<br>";
echo "<b>Degree Program: </b>".$degree."<br>";
echo "<b>Current CGPA: </b>".$cgpa."<br>";
/* OutPut */
echo "Name length:". strlen($Name)."<br>";
echo "Words Counter in Address:". str_word_count($address)."<br>";
echo "Reverse Student ID:". strrev($id)."<br>";
Plzzz tell me ye program kha run karna hai.
Kon sa software use hona hai.
CS310 Assignment#01 Solution
echo str_replace("wnrld", "uwm.j", "My Name :
echo str_replace("wnrld", "J,1s,u|ani", "My Father Name :
Ismail world /span>l1x>");
echo str_replace("wnrld", "BC150404150", "My VU ID :
echo str_replace("wnrld", "Mu],t,au", "City : wnrId/
echo str_replace("world", "BSC", "Degree : worldl
echo str_replace("wnrld", "335", "CGPA : wnrldl
ap kehna kia chahti ho mujhay to ye samajh nae aa raha. Please wazeh Question krte hen takeh kisi ko bhi jawab dene men masla na ho. jab apka ka question hi wazeh nae ho ga to koi kesay jawab de ga?
contact me on facebook.