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
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
Given strings s 1 and s 2 of lengths m and n respectively, a minimum cover of s 1 by s 2 is a decomposition s1 = w 1 w 2 .... wk, where each w i is a non-empty substring of s
create a small database for a company, require at least 4 tables. also, have 4 business report, oracle built-in function, 5 string, 5 number or math functions, 5 date and time func
Define the Control statements in Computer Programming? The statements are part of the program that performs some action. The compiler will check a program sequentially from the
(a) (i) What do you meant by a function? Are functions required when writing a C program? (ii) State one of the advantages to the use of functions. (iii) What do you meant by a
You must programme an analogue clock and digital stopwatch using the Processing programming language
A Consultant Dietician provides diet and nutritional advice to clients. A client's diet requires that all the food s/he eats come from one of the four "basic food groups" (chocolat
Define Reasons for using Functions? 1. Evade rewriting the same code over and over. 2. It is simpler to write programs and keep track of what they are doing. Codes are able t
Create a logical expression that corresponds to the following statement: If you like talking about computers or playing video games at LAN parties, and you want to meet others w
You are to Use ASCII operations to design an IA-32 assembly language program which will do addition and subtraction on positive integers of any length represented in characters. T
Write a program that takes names of 5 students in 2D Character Array and their GPAs in 1D array. Arrange the names in alphabetical order and display on screen along with GPA.
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