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
*
* *
* * *
* * * *
* * * * *
* * * * * *
* * * * * * *
1. You are working as a designer for a university that offers a program in Computer Science. One of the tracts is computer security. One of your colleagues has recommended adding a
I have a half done program that needs to be finished for a class by tomorrow night. The program will create a database and print out a menu ofoptions (already done). Ive already
SailDublin Ferry provides ferries to mainland Britain, Europe and America. Having observed the success of Irish ferries and Stennaline online booking system; SailDublin ferry has d
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.
how to rewrite C++ program the DNAStrand class (DNA Project) to instead store the nucleotide sequence in a dynamically-allocated array?
need some one to help me with malab
how much it will cost? i need learn how to make rightsided triangle in forloop
Special Matrices There are some "special" matrices out there which we may use on occasion. The square matrix is the first special matrix. A square matrix is any matrix that s
Question 1 How to call a WML Script from a WML Page? Question 2 Write short notes on WML Script Operators and Expressions Question 3 Write short notes on WML Script Statements
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
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