Monday 17 January 2022

Advanced Internet Technology practical mca suresh gyan vihar university assignment

 

Advanced Internet Technology

1. Program to print table of a number in PHP.

Logic:

o        Define the number.

o        Run for loop.

 

 

Its Half solved only

  

SURESH GYAN VIHAR University Fully solved assignment available

 

Lowest price guarantee with quality.

Charges INR 300 only per assignment. For more information you can get via mail or Whats app also


Mail id is 
aapkieducation@gmail.com

 

Our website www.aapkieducation.com

After mail, we will reply you instant or maximum

1 hour.

Otherwise you can also contact on our

whatsapp no 8791490301.

Contact no is +91 87-55555-879

 

2. Program to find armstrong number using form in PHP.

An Armstrong number is the one whose value is equal to the sum of the cubes of its digits.

0, 1, 153, 371, 407, 471, etc are Armstrong numbers.

For example,

407 = (4*4*4) + (0*0*0) + (7*7*7)  

        = 64 + 0 + 343  

407 = 407 

 

3. Program to print the Fibonacci series in PHP.

Fibonacci Series

Fibonacci series is the one in which you will get your next term by adding previous two numbers.

 

4. Program to print reverse of a number in PHP.

Reverse number

A number can be written in reverse order.

For example

12345

 

 

5. Program for reversing a string with strrev() function in PHP.

Reverse String

A string can be reversed either using strrev() function or simple PHP code.

For

 

6. Program to do swapping using third variable in PHP.

Swapping two numbers

Two numbers can be swapped or interchanged. It means first number will become second and second number will become first.

For example

a = 20

 

7. Program for adding two numbers in PHP.

Adding Two Numbers

Adding in Simple Code

Addition of two numbers 15 and 30 is shown here.

<?php  

$x

 

 

8. Program to add two numbers by passing input value in the form butwithout using (+) operator.

Two numbers can be added by passing input value in the form but without using (+) operator.

<body>  

<form>  

Enter First Number:  

<input 

 

 

9. Program to print alphabet triangle using range() function in PHP.

AAAAA

BBBB

CCC

DD

E

Alphabet

 

 

10.Program to print alphabet triangle using chr() function in PHP.

AAAAA

BBBB

CCC

DD

E

Using chr() function

Here the chr()

 

No comments:

Post a Comment