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


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

CS508- Modern Programming Languages Assignment No. 04 SEMESTER Fall 2015 Total Marks: 20 Due Date: 15/02/2016

+ How to Follow the New Added Discussions at Your Mail Address?

+ 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: 2946

.

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

Attachments:

Replies to This Discussion

2nd Question idea solution plzzz

koi to solution day do

koi solution upload kare ga plz

Instructor's Reply:
Dear Student,
You do not need to take input from the user, you may assign vales within the code. Furthermore, you can use NetBeans or any IDE for assignment no. 4, however, your code must be in an MS word file.

Regards,

bhi kar bi do solution upload aj Extend date ha

i think sooo it is helpfull for 2nd question:-

 

<?php
$salesTaxForm = <SalesTaxForm
<form action="SalesTaxInterface.php" method="post">
Price (ex. 42.56):<br>
<input type="text" name="price" size="15" maxlength="15" value=""><br>
Sales Tax rate (ex. 0.06):<br>
<input type="text" name="tax" size="15" maxlength="15" value=""><br>
<input type="submit" name="submit"
value="Calculate!">
</form>
SalesTaxForm;
if (! isset($submit)) :
echo $salesTaxForm;
else :
$salesTax = new Java("SalesTax");
$price = (double) $price;
$tax = (double) $tax;
print $salesTax->SalesTax($price, $tax);
endif;
?>

Thanks kia yeh complete solution hay ?

plzzzzzzz koi to solutin dy

bhai aur behn agar koi upload kar do solution 

yar plz complete uplaod kro solution??????????//

Question 1 

Solution: (if it is wrong tell me)

<?php
$f
=$c"";
if(isset(
$_POST['f'])) $f=sanitizeString($_POST['f']);
if(isset(
$_POST['c'])) $c=sanitizeString($_POST['c']);

if(
$f!= '')
{
 
$c=intval((5/9)*($f-32));
 
$out="$f degree farenheit equals $c degree celsius";
 }
 elseif(
$c!= '')
 {
 
$f=intval((9/5)* $c 32);
 
$out="$c degree celsius equals $f degree farenheit";
 }
 else 
$out"";
 
 
 echo <_END
 <html><head><title>Temparature Converter</title>
 </head><body><pre>
 Enter either Fahrenheit or Celsius and click on Convert
 <b>
$out</b>
 <form method="post" action="convert.php">
 Fahrenheit <input type="text" name="f" size="7"/>
 Celsius <input type="text" name="c" size="7"/>
  <input type="submit"  value="convert" />
  </form>
  </pre>
  </body>
  </html>
_END;
  
  function 
sanitizeString($var)
  {
  
$var=stripslashes($var);
  
$var=htmlentities($var);
  
$var=strip_tags($var); 
  return 
$var;
  } 
?>

RSS

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

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

.