<body>

<form method = “post”>

<input type = “text” name = “name”>

<input type = “submit” namem= “Submit name”>

</form>

<?

if(isset($_POST[‘submit’]))

{

$_Pinfo = $_POST[‘name’];

echo $_Pinfo;

}

?>

</body>

</html> ]]>

Such as these

A | A- | B+ | B | B- | C+ | C | D | F |

100-93 | 92.9-90 | 87-89.9 | 86.6-83 | 82.9-80 | 79.9-77 | 76.9-70 | 69.9-60 | <=59.9 |

for example:

user name should be in lowercase and max & min characters.

password should be in lowercase,uppercase,number and at lest one special character.

]]>

]]>

{

student s22;

fstream out;

out.open(“ABC.txt”,ios::in);

while(!out.eof())

{

out.read((char *)&s22,sizeof(s22));

cout<<s22.roll_no<<“\t”<<s22.name<<“\t\t”<<s22.marks<<“\t”<<endl;

}

}

When I try to read object from file using read function in C++ then it return last record 2 times.

Output like this:

11 Ram 70

12 Mohan 80

12 Mohan 80

Please help me to solve this

]]>result

jumlah 1 = 77*

jumlah 2 = 01*

jumlah 3 = 66*22*99*

jumlah 4 = 45*

jumlah 5 =

jumlah 6 =

jumlah 7 =

jumlah 8 = 57*

jumlah 9 =

jumlah 10 =

jumlah 11 =

jumlah 12 = 34*

class TestArithmetic {

public static void main (String[] args){

Scanner console= new Scanner (System.in);

** **

** System**.out.println(“Enter first number”);

**int** x1 = console.nextInt();

** System**.out.println(“Enter second number”);

**int** x2 = console.nextInt();

** System**.out.println(“Enter third number”);

**int** x3 = console.nextInt();

System.out.println(“x1=”+x1);

System.out.println(“x2=”+x2);

System.out.println(“x3=”+x3);

** Arithmetic **ar = new Arithmetic();

int answer1=ar.sum(x1,x2);

int answer2=ar.sum(x1,x2,x3);

int answer3=ar.substract(x1,x2);

double answer4=ar.divide(x1,x2);

int answer5=ar.modulas(x2,x3);

int answer6=ar.multiply(x2, x3);

int answer7= ar.largest(x1, x2, x3);

boolean evenNumber1= ar.isEvenNumber(x2);

boolean evenNumber2= ar.isEvenNumber(x3);

System.out.println(“Sum of x1 and x2 is “+answer1);

System.out.println(“Sum of x1, x2, x3 is “+answer2);

System.out.println(“Subtraction of x1 and x2 is “+answer3);

System.out.println(“Division of x1 and x2 is “+answer4);

System.out.println(“Modulas division of x2 and x3 is “+answer5);

System.out.println(“Multiplication of x2 and x3 is “+answer6);

System.out.println(“Largest value among x1, x2 and x3 is “+answer7);

if (evenNumber1)

System.out.println(“x2 is an even number”);

else

System.out.println(“x2 is an odd number”);

if (evenNumber2)

System.out.println(“x3 is an even number”);

else

System.out.println(“x3 is an odd number”);

}

}

]]>And how to show time in 12 hours am or pm when retrieving data from server.

respond as quickly as possible thanks in advance.

]]>