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
On December 27, 2011, Seymour Gravel, at the urging of his wife, Mary Walford, has brought you his preliminary figures for his business. Seymour carries on a business writing and e
how to make a program using vb?seriously i don''t know
how to concatinate two strings in assembly
Objective: to show if the sizes of the clusters influence the communication cost among a set on nodes Write a K-Means program for a set of M points randomly distributed on an
a) Write a program i_language(Sentence,NewSentence) that translates a sentence to the i-language. In this language all vowels are changed to i and all other characters are kep
write a program to sort the file sequential order and store on magnetic tape and print sorted tape as the output of the program.
( Airline Reservations System ) A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. You are to w
Write 3 somewhat simple scripts / programs in any language, combination of languages, and/or software. Please tell me the task you are trying to accomplish in the scripts. Idea
1. Write a function that converts a character array to a signed decimal integer. Function prototype must be as follows: int asciiToInt( char *str, unsigned char* eflag) YOU MAY NO
Example : Find the general solution to the subsequent differential equation. x 2 y′′ - 7 xy′ + 16 y= 0 Solution First the roots of (3) r (r -1) - 7r + 16= 0 r 2
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