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
*
* *
* * *
* * * *
* * * * *
* * * * * *
* * * * * * *
I''m studying electrical engineering, and this semester im taking course that called Computer Design. in this course they need me to a final project about any thing we took during
Expertsmind brings you unique solution in java assignments Swing Move is the primary Java GUI gadget tool set. It is part of Oracle's Java Groundwork Sessions (JFC) - an A
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
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
Explain the Do - While Statement - Computer Programming? A do - while loop is an exit controlled loop and the body of the loop gets executed at least once if the condition is n
This case will lead to similar problem that we've had all other time we've run in double roots or double eigenvalues. We only find a single solution and will require a second solut
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
How to lunch webcame via viusal studio 2012
Expertsmind brings you unique solution in java assignments String Handling Series signifies a sequence of character types. It has set duration of personality sequence. Onc
You are to write a program which will answer a pair of questions for squares, triangles, circles and ellipses. A square is defined by its lower left corner (SLLx,SLLy), and the len
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