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!
Enter number of hours and find days, months and years.
echo -e "Enter Hours: \c"
read hr
echo "hour=$hr"
day=0
mon=0
yr=0
yr=`echo "$hr/365" | bc `
tmp=`echo "$hr%365" | bc`
mon=`echo "$tmp/30" |bc`
day=`echo "$tmp%30" | bc`
echo -e "$hr hours = $yr years and $mon months and $day days"
Output
sh cnthour.sh
Enter Hours: 450
hour=450
450 hours = 1 years and 2 months and 25 days
Enter Hours: 370
hour=370
370 hours = 1 years and 0 months and 5 days
Procedure-oriented programming (POP):- This is a top-down programming approach, where the problem is viewed as a sequence of tasks to be done such as calculating, printing etc. A n
Lexical Analyzer: Symbol Table - Holds the symbols accepted by the lexical analyzer or parser. Each symbol may be a terminal or a non-terminal. Terminal symbols are listed
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
Write a Perl program ghici.pl, one of the simplest computer games. The program should generate a random integer between 1 and 1000 and asks the user to guess it. If the user ?nds t
#questiWrite down different system calls for performing different kinds of tasks.on..
Support for Multi-Targeting The multi-targeting function of Vision Facilities allows you specify the particular edition or account of the .NET Structure that is required for your p
Write a program that will input two numbers from the keyboard and execute each of the signed and unsigned multiply and divide instructions. For each instruction, the program shoul
Write a program to use a robot to move the stack of blocks from a source location to a target location, based. Movement of robot arms, picking and dropping, can be controlled usi
.NET class libraries in .NET Whether you create value in C# or VB.NET, you are getting in touch with techniques in the same .NET category your local library. The same .NET str
Write a python script that will take two file names as input (src, dest). Open src reading each line in the file, and replacing any occurrences of name with the string "redacted".
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