1) Shell Program To check the greater number between two numbers #!/bin/sh [sourcecode language=’sh’] echo Enter a Number read num1 echo Enter Number read num2 if test $num1 -ge $num2 then echo $num1 is greater than $num2 else echo $num2 is greater than $num1 fi 2) Shell Program to Check a number is even or odd [sourcecode language=’sh’] echo Enter a Number to Find Even or odd read num b=`expr $num % 2` if [ $b -eq 0 ] then echo Even number else echo Odd Number fi 3) Shell
Premium Programming language
Worksheet 2 Intro. To C Programming by Yanique Campbell An assignment submitted in partial fulfillment of the requirements for the course Intro. To C Programming Instructor: Mr. Rohan Simpson Date: March 18‚ 2014 Department of Communication and Information Technology Bethlehem Moravian College. Question 1 A program is required to read a customer’s name‚ a purchase amount and a tax code. The tax code has been validated and will be one of the following: • 0 tax exempt (0%) • 1 state
Premium Taxation in the United States Tax Value added tax
RHA; same trend for LL and PL. The Linear Shrinkage (LS) decreases as the RHA content increases‚ enhancing the volume stability of the soil. The results obtained from the researches’ work are shown below in Figure 2.7. Figure 2.7: Variation of OMC‚ LL‚ PL‚ PI‚ and LS with RHA content Roy (2014) conducted a research on the soil stabilization using RHA and cement‚ using the soil sample from Burdwan‚ India by disturbed sampling method. The CBR value obtained from the experiment is to evaluate the
Premium Soil Water Soil mechanics
Genealogy of Programming Languages Pre-computer era Analytical engine The analytical engine‚ an important step in the history of computers‚ was the design of a mechanical general- purpose computer by the British mathematician Charles Babbage. It was first described in 1837. Because of financial‚ political‚ and legal issues‚ the engine was never built. In its logical design the machine was essentially modern‚ anticipating the first completed general-purpose computers by about 100 years. The input
Free Programming language
Technology IPEDR vol.13 (2011) © (2011) IACSIT Press‚ Singapore Optimal Scheduling in a Milk Production Line Based on Mixed Integer Linear Programming Habibollah Javanmard1‚+ ‚ Kianehkandi2 1‚+ Assistant professor‚ Islamic Azad University‚ Arak Branch‚ Arak‚ Iran 2 Islamic Azad university ‚ Arak Branch‚ Arak‚ Iran Abstract - A Mixed Integer Linear Programming (MILP) model is proposed in this paper that targets the optimal production scheduling in a single milk production line. The model takes
Premium Inventory Milk Operations research
To understand issue of XP (Extreme Programming) as a methodology is important to mention some of it´s background. XP came to the picture in 1999 in Kent Beck´s book named Extreme Programming Explained. The book was originally aimed to programmers but the Extreme methodology reached others areas as well. XP as a methodology in the early 2000 gained a lot of followers as a new outlook of doing programming and systems design. But this new methodology also arose questions about its effectiveness and
Premium Extreme Programming Systems Development Life Cycle
A History of Computer Programming Languages The first programming languages predate the modern computer. From the first‚ the languages were codes. Herman Hollerith realized that he could encode information on punch cards when he observed that railroad train conductors would encode the appearance of the ticket holders on the train tickets using the position of punched holes on the tickets. Hollerith then proceeded to encode the 1890 census data on punch cards which he made the same size as the boxes
Premium Programming language
Neuro Linguistic Programming The program took on techniques on how to use unconventional methods of communication as a venue for concise message transmission. - The use of "Eye Cues"‚ in determining the dominant sense of a person. (This is somewhat similar with DISC Mapping‚ although NLP does not really require a questionaire to determine the behaviour / personality). 1. VISUAL - Represents a person to be catering to images. A visual person tends to respond more when presented with pictures
Premium Sense Sensory system Eye
Objective Programming PRG/211 – Algorithms and Logic for Computer Programming Procedural and Objective Programming Computer hardware runs off different programs that are installed on a computer. For these programs to run‚ they need to be coded correctly with minimal bugs. Designing and coding are the essentials of programming. The various methods to code a program have grown over the years. There are two basic types of programming that have been around for a long time; procedural programming‚ and
Premium Programming language Object-oriented programming Computer program
days‚ programming languages are becoming more and more general and all-purpose‚ but they still have their specializations‚ and each language has its disadvantages and advantages. Languages can generally be divided into a few basic types‚ though many languages support more than one programming style. This following list isn’t all inclusive or as fine-grained as possible‚ but it brings out some of the basic design decisions behind languages. Language Types • Procedural The programming style
Premium Programming language