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!
4. Write a shell script to print the multiplication table of given number up to a given range.
Program
# Write a shell script to print the multiplication table of given number
# up to a given range.
echo "Enter NO.:"
read no
echo "Enter range:"
read r
i=1
while test $i -le $r #starts with 1 to given range
do
temp=`expr $no \* $i`
echo "$no * $i = $temp"
i=`expr $i + 1`
done
Output
Enter NO.:
5
Enter range:
6
5 * 1 = 5
5 * 2 = 10
5 * 3 = 15
5 * 4 = 20
5 * 5 = 25
5 * 6 = 30
15
4
15 * 1 = 15
15 * 2 = 30
15 * 3 = 45
15 * 4 = 60
Question 1 Explain the three traits of Object Oriented Programming Question 2 Write a note on (a) Assignment Operators b) Bitwise Operators.
Companies divide their subtasks of game's development. For large complex games, the development team can vary in size from 20 to 100 or more members. The most represented are artis
The languages used in the module are of a type known as high-level languages. There is another set of languages known as low-level languages. (a) Differentiate between high-leve
i have a homework in TinyOs
(a) Define a procedure called make-avl-tree which makes an AVL tree with one node. Also create another constructor build-avl-tree that creates an AVL tree from a root, left subtree
I need help I want to implement the Genetic Algorithm for Shortest path Kindly Help me I will be thankful to you
i have a=[0 1 1 2 2 3 6 7 0 4 ] i want to delent elemet but keep its position i.e a(4)=[] it gives me 0 1 1 2 3 6 7 0 4 but i need 0 1 1 [] 2 3 6 7 0 4
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
We now require starting looking into finding a particular solution for n th order differential equations. The two ways which we'll be looking at are similar as those which we look
Write a program that takes integer array of 8 elements from user and find the smallest element among them using pointers
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