Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Solved Assignments
Asked Questions
Answered Questions
program for compute verbwe have to write an easy program to elaborate the compute verb identification divisionprogram- id compverbenvironment
program for size error we have to write an easy program to elaborate the size error optionidentification divisionprogram- id sizeerrenvironment
program for divide verb we have to write an easy program to elaborate divide verb you can also use edit characters in the programidentification
program for multiply verbwe have to write a simple program to elaborate multiply verb you can also use the edit characters in the
program for subtract verbwe have to write a simple program to elaborate the subtract verb you can also use edit characters in the
program for add verbwe have to write a simple program to elaborate the add verb you can also use edit characters in the programidentification
on size error optionwhenever a size error occurs the contents of the result field after the operation is unpredictable though the processing is
on size error option if after an arithmetic expression the result exceeds the highest value which can be accommodated in the result this error is
move correspondingit is frequently required to move some of the data items of one group to some other data items in the other group if the names of
go to stop runthe go to verb is used to completely transfer the control to elsewhere in the programits form is as shown belowgo to procedure-nameas a
display statement the function of the display statement is just opposite to that of the accept statement it is used to display the low-volume
example of accept statementfor illustration accept flag-a can be specified to read the value of the flaga from the console it may be keep in mind
close statementwhen the processing of a file is completed then the file may be closed this is completed with the help of the close-verb the form of
example of write statementillustrationi write trans-record after advancing 3 linesthis write statement specified that the trans-record is a record
write statementthe write statement verb releases a record in an output file the syntax for the write statement can be unlike depending on the output
example of read statementillustrationread old-master at end move zero to end-of-recordsas a result of this statement generally the next record from
read statementthe aim of this verb is to make available the next logical record from the input file it is important to note the meaning of the next
example of open statementillustrationthe open input transaction old-master output new-masterthe illustration represents that there are two input
compute verbthe compute verb is very powerful all the evaluations performed by the other 4 verbs can also be completed easily by using the compute
illustration of divide verba divide 5 into aif the value of a is 20 then after execution of this statement the value of a will be 4 the older value
illustration of multiply verba multiply a by bin this situation the value of a amp b will be multiplied and the product will be stored in b
illustration of subtract verba subtract a from bthis illustration means that the value of a will be subtracted from the value of b and the subtracted
example of add verba add a to bthis illustration represents that the value of a will be added to the value of b and the result will be stored in
arithmetic verbsmost of the problems need some computations to be performed on the input or intermediate data that are numeric in nature the