PHP ASSIGNMENT PHP Assignment -1 1. Write a script for finding out whether it is an odd number or even number and echo on the screen. 2. Write a PHP Script to take 2 variables with specific numeric value of your choice and Perform the following operations: Addition, Subtraction, Multiplication and Division using switch case. Also echo out the Result on the screen. 3. Write a PHP Script to declare 2 variables with specific numeric value of your choice and find out the greater number between the two(Use ternary operator). If the numbers are equal, the respective message must appear on the screen. 4.Write a PHP Script to check if the string is palindrome 5. Write a PHP Script to Calculate the Sum of Odd & Even Numbers. 6. Write a PHP Script to Check if a given Integer is Positive or Negative. 7. Write a PHP Script to Read Two Integers M and N & Swap their Values. 8. Write a PHP Script to Accept two Integers and Check if they are Equal. 9. ...
FYBCA-ASSIGNMENT-SEM-1 Assignment – 1 Assignment Date: 21/8/2017 Subject: CPPM Submission Date: Questions: 1. Write a C program to interchange value of two numbers using third variable. 2. Write a C program to convert degree to radians. (Formula: degree=π/180) 3. Write a C program to input quantity and price of an item and display total Rs. on screen. Also input discount (...
SHRI SHAMBHUBHAI V. PATEL COLLEGE OF C. S. & B. M. F.Y.B.C.A (SECOND SEMESTER) PRACTICAL ASSIGNMENT-I FYBCA SEM 2 C ASSIGNMENT-I 2018 1) Write a program to generate all possible combination of string for a given string. E.g. Input “surat” O/p: surat, urats, ratsu, atsur, tsura. 2) Write a program to read a sentence (containing blank spaces) and display it in toggle case. 3) Write a program to read a sentence. Count the number of capital letter, small letters , special characters and numbers. 4) Write a program to check whether given string is palindrome or not. 5) Write a program to do the following on a given string. I/p: patel shiv kumar O/p: patel shiv kumar 6) Write a program which will read a string and rewrite it in the alphabetical order. For ex:- input=”string” output= “ginrst” Click Here to Download Fybca Assignment 2018
Comments
Post a Comment