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!
W.A.S.S to print the following:
i. Count of characters, words and lines from a file.
ii. Count of five character words.
iii. Convert all lower case characters to upper case.
Program
#W.A.S.S. to Count of characters, words and lines from a file.
echo -e "Total character in the file are: \c"
cat good.sh |wc -c
echo -e "Total words in the file are: \c"
cntw=0
for w in `cat good.sh`
do
cntw=`expr $cntw + 1`
done
echo "$cntw"
echo -e "Total lines in the file are : \c"
cat good.sh | wc –l
Output
Total character in the file are: 162
Total words in the file are: 27
Total lines in the file are : 15
A company produces three sizes of window fans small, medium and large. the manager has formulated an LP model for fan production Maximize 6x1+8x2+5x3
Provide Example of Function? An illustration of a function definition main() { message(); } /* header */ message() { /*bodystarts here*/ printf ("Example for function
Have the user input two values. Store them in variables called savings and expenses, both of data type double. If expenses is less than savings, subtract expenses from savings, o
XML Publishing. Consider the following relational data: Products: pid Name Price Description 323 gizmo
We want to create a structure that will represent a deck of cards (not necessarily full). Each card has a character (between '2' to '9' and 'T', 'J', 'Q', 'K', 'A') and a suit (dia
fow to I write a emplate that reads a set of numbers typed at the keyboard into an array of T
Extend the AirRaid game, so that the planes drop a bomb on the gun as they go over it. The gun has to move out of the way otherwise it will be destroyed if hit. Provide three lives
Flatten the tree Consider the following XML input, which groups people into two categories-salaried and hourly: Warren Rosenbaum 37 5.75
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
System.in and System.out should not be used anywhere in the programs except in main and only for testing purposes. All calculations should be done in a method. Note: To use J
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