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
Difference between java and j2ee programming In the basic form, the phrase java is placed as a selection terminology. On the other hand, the phrase J2EE is placed as a renderin
XML Publishing. Consider the following relational data: Products: pid Name Price Description 323 gizmo
Objectives: Create an applet, Use methods from the Graphics class , Use the Color class General Instructions: The java class that need to be imported into this assignm
Introduction This assignment builds on your application, produced in Assignment 1, which holds a list of cabins, which can be either read in from a text file or just hard coded
Version Control is a critical tool in development and production environments that allows a user to make snapshots of working con?gurations or code. In this assignment, you will de
Write a program to check whether a car will crash. There is an obstacle at a certain distance (say 100 m) and the car is travelling at a certain speed (try it with some different s
(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
Write a Program to Show Twenty Ellipses 1. Write a program to show twenty ellipses which move away from the mouse pointer. Their initial locations should be random.
I need to write code to compute matrix multiplication without using built in function.
using UML 1- Identify primary classes 2- Scenario description 3- Class diagrams 4- Sequence diagrams
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