Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
W.A.S.S to check whether user has logged in or not.
Program
# W.A.S.S to check whether user has logged in or not.
echo "Enter the user name:"
read usr
flag=0
for w in ` who | tr -s " " | cut -d " " -f1`
do
if test $usr = $w
then
echo "User is logged in.."
flag=1
fi
done
if test $flag = 0
echo "User is Not logged in.."
Output:
Enter the user name:
root
User is logged in..
narenda
How do you get the complexity of an algorithm? What is the relation b/w the time & space complexities of an algorithm? Justify your answer with an example.
interference of waves
Please write a program declaring a variable x as the type int, and use the scanf function to input an integer to initialize the value of x. Then, your program will print the follow
Define an Example of Switch Statement? estimate(number) int number; /* Estimate a number as none, one, two, several, many */ { switch(number) { case 0 :
Is there one can help me in the language Lisp and Prolog
What is the switch Statement? This is a different form of the multi way decision that It is well structured, but can only be used in certain cases where: 1. Here, Only one var
(a) Define a procedure called make-avl-tree which makes an AVL tree with one node. Also create another constructor build-avl-tree that creates an AVL tree from a root, left subtree
Exception handling Exception handling is a mechanism that separates code that detects and handles exceptional circumstances from the rest of your program. Note that an exceptional
How to create an ER diagram?
We are looking for Pool Services Software Our company Pool Hands LLC is looking to build software for our internal use. We would like the software built therefore that it could
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd