Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
getting the nth power's value

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
gowtham_srgp

New User


Joined: 09 Jun 2005
Posts: 38

PostPosted: Sat Jun 11, 2005 2:41 pm    Post subject: getting the nth power's value
Reply with quote

hai. can some one clarify me how to get nth power of a no; i.e; how to find square or square root of a no in cobol -74 and 85...

thanks in advance....
Back to top
View user's profile Send private message

manjunathbhosale

New User


Joined: 18 Mar 2005
Posts: 6
Location: bangalore

PostPosted: Sat Jun 11, 2005 4:22 pm    Post subject:
Reply with quote

hi

In cobol its possible to use the syntax

value1 ** value2.

i.e 10**5 (ten to the power of five).

hoping it works
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. China Light and Power Company Limited... Express Mainframe Jobs 0 Wed Nov 11, 2015 7:14 pm
No new posts Re-write queries to minimize the effe... Anil Khanna DB2 6 Mon Aug 04, 2014 1:49 pm
No new posts Dominating Power of ..... Anuj Dhawan General Talk & Fun Stuff 10 Wed Oct 10, 2007 1:35 pm
No new posts IBM 's Power 6 CPU hits 5GHZ soon... mcmillan PC Guides & IT News 1 Fri May 11, 2007 2:04 am
No new posts Power of operator mathiprakash COBOL Programming 7 Thu Aug 25, 2005 12:46 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us