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
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
Question 1 Explain the three traits of Object Oriented Programming Question 2 Write a note on (a) Assignment Operators b) Bitwise Operators.
1. Use mathematical induction to prove Whenever n is a positive integer. 2. Use loop invariant to prove that the program for computing the sum of 1,...,n is correct.
Using os.walk, write a script that will print the filenames of zero length files. It should also print the count of zero length files.
Write a function named prob2.m which creates and returns an N×N identity matrix. An identity matrix is a square matrix with values of one on the main diagonal and zeros in all off-
A function that takes a list with at least 4 numbers and if three of the numbers sum is equal to the remaining numbers return #t else return #f
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
2. TEST & AND TEST is like CMP, it is used for conditional statement, and doesn’t save the answer. AND is logical multiplication. 3. INS & IN IN is used for data transfer from I/O
i want to record in database but how to delete only duplicate field not row in vb 6.0 or ms-access
1. Write out a detailed plan for a program to find the largest value in an array that is smaller than a ceiling C. For example, suppose the array has the values {4, 14, 11, 100, 6}
You are to write a program that determines the day of the week for New Year's Day in the year 3000. To do this, you must create your own date class (MyDate) and use the following i
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: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd