IT 430 – Assignment No 2 Solution 2020 !

0
164

IT 430 – Assignment No 2 Solution 2020 !

<html>

<head>

<title>

IT430 Assignment 2

</title>

<script>

function checkempty()

{

var bnm=document.getElementById(“bm”).value;

var bim=document.getElementById(“bi”).value;

var bem=document.getElementById(“be”).value;

var bmt=document.getElementById(“mt”).value;

var bit=document.getElementById(“it”).value;

var bet=document.getElementById(“et”).value;

var mot=document.getElementById(“om”).value;

var moi=document.getElementById(“im”).value;

var met=document.getElementById(“em”).value;

if(bnm.lenght< 1)

alert(“Please enter your matric board name”);

if(bim.lenght< 1)

alert(“Please enter your inter board name”);

if(bem.lenght< 1)

alert(“Please enter your university name”);

if(bmt.lenght<1)

alert(“Please enter your matric board total marks”);

if(bit.lenght<1)

alert(“Please enter your inter board total marks”);

if(bet.lenght<1)

alert(“Please enter your Entry test total marks”);

if(mot.lenght<1)

alert(“Please enter your matric board total marks”);

if(moi.lenght<1)

alert(“Please enter your inter board total marks”);

if(met.lenght<1)

alert(“Please enter your Entry test total marks”);}

function checkmrks()

{

var bmt=parseInt(document.getElementById(“mt”).value);

var bit=parseInt(document.getElementById(“it”).value);

var bet=parseInt(document.getElementById(“et”).value);

var mot=parseInt(document.getElementById(“om”).value);

var moi=parseInt(document.getElementById(“im”).value);

var met=parseInt(document.getElementById(“em”).value);

if (mot>bmt)

alert(“Obtain marks cannot be more than total marks”)

if (moi>bit)

alert(“Obtain marks cannot be more than total marks”)

if (met>bet)

alert(“Obtain marks cannot be more than total marks”)

if((mot<bmt) (moi<bit) (met<bet))

{

var m= mot/bmt*30;

var i= moi/bmt*30;

var e= met/bmt*40;

var s= m+ i+e ;

alert(“Your aggregate is: “+s”);

}

</script>

</head>

<body bgcolor=”#00FFFF”>

<H1 align=”center” style=”font-family:Arial, Helvetica, sans-serif”>Admission Aggregate Calculation Form </H1>

<H1 align=”center” style=”font-family:Arial, Helvetica, sans-serif”>student ID: BC20oxxxxxxxx </H1>

<H1 align=”center” style=”font-family:Arial, Helvetica, sans-serif”> Student Name: Your Name </H1>

<table bgcolor=”#6666FF” bordercolor=”#000000″ align=”center” width=”800″ border=”5″ cellpadding=”5″>

<tr align=”center”>

<th colspan=”4″ style=”font-family: Arial, Helvetica, sans-serif”>Qualification</th>

</tr>

<tr align=”center”>

<th style=”font-family:Arial, Helvetica, sans-serif”>examination</th>

<th style=”font-family:Arial, Helvetica, sans-serif”>board</th>

<th style=”font-family:Arial, Helvetica, sans-serif”>total marks</th>

<th style=”font-family:Arial, Helvetica, sans-serif”>marks obtained</th>

</tr>

<tr align=”center”>

<th style=”font-family:Arial, Helvetica, sans-serif”>Matric</th>

<td><input type=”text” id=”bm” size=”25″></td>

<td><input type=”text” id=”mt” size=”25″></td>

<td><input type=”text” id=”om” size=”25″></td>

</tr>

<tr align=”center”>

<th style=”font-family:Arial, Helvetica, sans-serif”>inter</th>

<td><input type=”text” id=”bm” size=”25″></td>

<td><input type=”text” id=”mt” size=”25″></td>

<td><input type=”text” id=”om” size=”25″></td>

</tr>

<tr align=”center”>

<th style=”font-family:Arial, Helvetica, sans-serif”>entry test</th>

<td><input type=”text” id=”bm” size=”25″></td>

<td><input type=”text” id=”mt” size=”25″></td>

<td><input type=”text” id=”om” size=”25″></td>

</tr>

<tr align=”center”>

<td colspan=”4″><input type=”button” value=”submit” onclick=”checkempty(); checkmarks()”></td>

</tr>

</table>

</body>

</html>

IT 430 – Assignment No 2 Solution 2020 !

More Assignments Click here

LEAVE A REPLY

Please enter your comment!
Please enter your name here