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!
Right triangle
Program
#W.A.S.S. to create right triangle
echo -e "enter num:\c"
read n
j=1
k=1
while test $k -le $n #this loop print as many line of * as the value of k
do
j=`expr $n - $k`
while test $j -gt 0 #this loop print forward spaces in each line
echo -e " \c"
j=`expr $j - 1`
done
while test $j -le $k #this loop print as many * per line as the value of j
echo -e " * \c"
j=`expr $j + 1`
echo " "
k=`expr $k + 1`
Output
enter num:7
*
* *
* * *
* * * *
* * * * *
* * * * * *
* * * * * * *
Implement the pull-down menu package
1. Write a shell script to locate executable files. This script takes a list of file names from the command line and determines which would be executed had these names been given a
A non-empty string β is called a repeat pre x of a string s if ββ is a pre x of s. Give a linear time algorithm to find the longest repeat prefix of s. Hint: Think of using lca
Using OOP,write a sample program to get the factorial of a number entered by a user
Your program can be invoked with option: -d date, where date is entered in dd/mm/yyyy format. In this case, it must only print the following string: Found cookies expiring bef
1. Logon to Linux. 2. Create a directory "Unix" under your home directory. Command(s): …………………………………………. 3. Create four sub-directories bin, conf, docs
I need a program that writes the first column of the matrix. The numbers in this column follow the pattern below: 1. Numbers start at 1 and count up to ''nels'' in increments of
I need help putting this into a flowchart constant c as Integer = 3500 Constant CALORIESTOOUNCE as Integer = 219 Declare Sex as Character Declare Age as Integer Declare Weight as I
The GuessingGame class contains a skeleton for a program to play a guessing game with the user. The program should randomly generate an integer between 1 and 10 and then ask the us
Question 1 Explain the three traits of Object Oriented Programming Question 2 Write a note on (a) Assignment Operators b) Bitwise Operators.
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