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!
Shell Script to print pyramid
Program
#W.A.S.S. to create pyramid
echo -e "enter num:\c"
read n
j=1
k=1
while test $k -le $n #this loop print as many * per line as the value of j
do
j=$k
while test $j -lt $n #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"
echo " "
k=`expr $k + 1`
Output
enter num:7
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
Calculate the total price based on several key parts required to build a state-of-the-art gaming computer. The user will have the option of selecting different parts.
What are Relative URLS ? When a web browser reads an HTML document, it has a great deal of information about the document. This includes the protocol used to retrieve the docu
write a program to find the output 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 1 2 3 2 1 1 2 1 1
In combat simulation software, exploding land mines cause damage to military vehicles. In addition to the damage done to the vehicles themselves, we are interested in the number of
The program output is intended to be parsed by a script working on the log file or correlated in a spreadsheet. Use the "csv" format (you will have to research "what" is a "csv" f
Explain the Goto Statement - Computer Programming? The goto statement is employed to alter the normal sequence of program execution by transferring control to some other part o
Let S = {s 1 , s 2 , .... , s k } denote a set of k genomes. The problem of fingerprinting is the task of identifying a shortest possible substring α i from each string si such t
Write a program (calculation.ccp) to allow the user to perform an arithmetic operation on the two complex numbers entered. The user can key in one of the four operations: addition
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