How to print the numbers in the following format??????

if i enter 3 then it shd print in the following way
1
2 4
3 5 6
if i enter 4 then it shd print
1
2 5
3 6 8
4 7 9 10

You will need to show some effort in doing your homework. Nobody is going to do it for you.

Similar Messages

  • How to print batch numbers on the AR invoice print out

    Hi Gurus;
    Here is my question; I need to be able to print batch numbers on the print out of AR invoices, I used variable 492 in PLD and I am able to see the batch numbers directly linked with the AR invoice, meaning that I wont be able to see batch numbers that I entered on the Delivery even is the delivery doc was copy to the AR invoice.
    Is there anyway that I can see the batch numbers on the AR invoice print if I entered the batch number on the delivery and then copied that delivery to an invoice??
    My client wants to be able to send their customers and invoice with a batch number but he always follow the process from sales order to delivery and delivery to AR invoice and what this means is that he always entered the batch numbers on the delivery documents.
    Please help me!!!
    Thanks
    Jenny

    If the ad hoc printer mode is not available for the envy, there are some reasonably cheap ways to get a wifi network in your car.   A cheap router from best but will generate the wifi network.  Does not matter if you have Internet or not.  A ifi device will also work, and most/ all of them run on batteries.  Lastly, if you have a smart phone or I phone that generates a wifi hotspot, that may be enough to support the printing function.  ( I need to test my I phone later today to see if that works.)

  • How to print Integrity sql in the preparedstatement?

    How to print Integrity sql in the preparedstatement?
    Connection conn = null;
    String sql = "select * from person where name=?";
    PreparedStatement ps = conn.prepareStatement(sql);
    ps.setObject(1, "robin");
    ps.executeQuery();
    i'm wants print Integrity sql.
    For example:select * from person where name='robin'
    How should I do?
    thanks a lot!

    PreparedStatement doesn't offer methods for that. You can write your own implementation of PreparedStatement which wraps the originating PreparedStatement and saves the set* values and writes it to the toString().
    If needed, myself I just print the sql as well as the values-being-set to the debug statement.Logger.debug(query + " " + values);

  • How to show Indian numbers in the Firefox ?

    How to show Indian numbers in the Firefox ?
    Like This : http://i52.tinypic.com/f1y3c5.png
    Not Like This : http://oi52.tinypic.com/23r0osm.jpg

    Thank you very much ..

  • HT1343 if one is using windows 8.1 on a boot camped mac and you are using a mac keyboard . How does one unlock the numbers  on the larger wired keyboard ( numbers keys to the right of the keyboard) instead of having to use the numbers at the top of the ke

    Question: I am using a mac , wired Keyboard, on  a windows 8.1 platform ( this is because I have boot camped my hard drive) Unfortunately when I change over from my mac set up into the windows 8.1 the key board does not behave like it does when I am using as a mac. The numbers , on the right of the keyboard , no longer function and I have to use the numbers at the top of the keyboard, very annoying. Can anybody let me know how I unlock the numbers on the right of my keyboard?
    Regards CM

    I have stated every issue I’ve had so far in a fairly clear and concise way. I think if you read what I wrote, it all makes logical sense as to what is going on. Windows 7/8 would work just as well on a Mac if it was supported the same way the OS is for other OEMs.
    As I stated earlier in the post, I’m having these same issues in windows 8, not just 8.1, which is the reason for the post. I know the difference between supported by drivers and not supported by the manufacturer. The fact that when Haswell mbp’s came out and no revision to bootcamp for the new hardware was released to fix issues with installing windows on the new hardware shows Apple clearly Is not supporting bootcamp as strongly as they advertise.
    I am being realistic on Apple having drivers early. Anyone with an MSDN subscription can download the RELEASE version of windows months ahead of the actual release, I’m 100% sure if any average consumer can do that by paying $100 and saying they are a developer, apple can do it just as easily.
    You aren’t much help, you haven’t answered really anything to my post, nor have you contributed any knowledge that wasn’t clearly posted above, so don’t say anything if you don’t have anything to contribute.
    By the way, my rant is directed at apple, as you can see because I am saying “Apple, if you are going to…” because this is an Apple forum on Apple’s website. It is not directed to end users, clearly.

  • How to get consecutive numbering at the end of paragraphs?

    In a big text some paragraphs, already styled, need a consecutive numbering.
    At the beginning of the paragraph the numbering will create a mess.
    Tried with fake footnotes: Impossible. The text has footnotes and converting the faked ones to text is not available.
    Tried a nice script written by Jong to add/subtract a number on numbered items, but it is restricted to index situations.
    O R I G I N A L                                   R E Q U I R E D
    a. Many years ago.                    a. Many years ago. [1]
    Lucy Smith                              Lucy Smith
    b. Margaret run away.               b. Margaret run away. [2]

    Hi, Camilo:
    First of all,  I was not thinking clearly when I blamed ID for a cross-reference bug. It was my error. Cross-references within a document need to be updated by the author, using the Update cross-references button at the bottom of the Hyperlinks & Cross-References panel, when they're moved or their source content changes. I was thinking about the known issues with cross-references that go between ID document files, which update automatically - performance slows, and sometimes they cause crashes.
    Here's the replacement reply for my previous post #1:
    camilo umaña wrote:
    In a big text some paragraphs, already styled, need a consecutive numbering.
    At the beginning of the paragraph the numbering will create a mess.
    Tried with fake footnotes: Impossible. The text has footnotes and converting the faked ones to text is not available.
    Tried a nice script written by Jong to add/subtract a number on numbered items, but it is restricted to index situations.
    O R I G I N A L                                   R E Q U I R E D
    a. Many years ago.                    a. Many years ago. [1]
    Lucy Smith                              Lucy Smith
    b. Margaret run away.               b. Margaret run away. [2]
    It's not clear if the right-hand numbers are supposed to replace the left-hand numbers while keeping the same sequence, or if you want to retain the left-hand numbers. You can use cross-references to create right-hand numbers from the paragraphs auto-numbers.
    Insert a cross-reference to the paragraph at the end of the text, with a format that captures its autonumber, and adds any ornamentation, like the square brackets in your example.
    If the rightmost number must be positioned at the right margin of the numbered paragraph, no matter how long or short it is, or if it wraps around to new lines, add a right-aligned tab stop to the paragraph style, positioned at the location where you want the number to appear, and insert a tab character in the paragraph before the cross-reference.
    If the left hand numbers are supposed to go away, you can't change the paragraph style to a non-autonumbered style, because you need the numbers that the cross-references capture. So, you need to create a character style that's very small and uses Paper for the text color, to hide the autonumbers. If the smallest point size (IIRC, it's 2 points) leaves too much space at the left of the autonumber, you might be able to reduce it further by using a small value in the Horizontal Scale property of the Advanced Character Formats in the Character Style dialog box. Your example seems to show that the numbered paragraphs are indented, so the space occupied by the hidden autonumbers may not be a problem.
    If the paragraphs are rearranged in sequence, you'll need to use the Update Cross-References button at the bottom of the Hyperlinks & Cross-References panel to update the affected cross-references.
    I'm still not clear about numbers at the end of the paragraphs in square brackets. Are they supposed to be the same value as the auto-number at the beginning of the paragraph, except that they use a numeric display format instead of an alphabetic format?
    I don't know of any code that can work with a find/replace action that can capture a paragraph's autonumber and display it at a specific location. As you've seen, cross-references need to be inserted manually. You might post a query in the InDesign scripting forum to see if someone has figured this out. If there's no complete solution, you might want to ask about a script that searches for the ends of paragraphs of the autonumbered paragraph style and opens the Insert Cross-Reference dialog box.
    Using Quick Apply to execute the Insert Cross-References command, which opens the New Cross-References dialog box, might save some energy for doing the many manual cross-references insertions. Search Google for terms like "InDesign quick apply" without quotes. You can open Quick Apply with a keystroke shortcut - Cmd+Return on Mac. You can type abbreviated commands. I use "rt cr" without quotes for (Inse)rt cr(oss-reference). Opening Quick Apply repeats the last command that was entered.
    Also, if you haven't tried a Google search for phrases like "InDesign numbered list at right end of paragraph," without quotes, give it a try. There are lots of links, including one to this forum article. Perhaps there's a golden nugget among them.
    If you think it's important for ID to be able to place autonumbers at the ends of paragraphs, please post a formal feature request here: Wishform Eventually, some user originated feature requests are incorporated in future ID releases.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • How to print/store in file the ref cursor in pl/sql block ?

    How to print/store in file the ref cursor in pl/sql block ?.

    How to print/store in file the ref cursor in pl/sql block ?.You question is quite confusing?
    So, i'm providing link in this manner.
    For RefCursor,
    http://www.oracle-base.com/articles/misc/UsingRefCursorsToReturnRecordsets.php
    http://www.oracle.com/technology/oramag/code/tips2003/042003.html
    For UTL_FILE,
    http://www.morganslibrary.org/reference/utl_file.html
    Regards.
    Satyaki De.
    Updated with new morgan library link.
    Edited by: Satyaki_De on Feb 24, 2010 9:03 PM

  • How can I create the numbering of the week in ICal

    I want to know how I can adjust ICal with the numbering of the week. I really need the number of the week often.
    Can somebody give my an answer, I looked for it and I can't find the option?
    Regards,

    Teduister,
    Welcome to Apple Discussions.
    According to Hawk Wings, you may want to consider: NumSemaine...NumSemaine is a little app which adds the week of the year to “All Day Event” Section of your iCal window.
    Not least, this drives home how soon Christmas will be upon us.
    It can also generate a ics file containing all the weeks of the year and their date ranges.
    ;~)

  • Adobe Reader - how to add page numbers with the free version?

    Hey guys,
    Imagine I've got a PDF file and I want to create a new one by selecting some pages out of it. I know this is simply possible by using the PDFcreator but I want to add page numbers. As far as I know this is not possible with the free version of Adobe unless I would add the page number on every single page by using a text box. I want to make different catalogs from the PDF so the page numbers are really necessary. Have you got any idea how to solve that issue? You know that's pretty much the only thing I need to add which means it's not worth buying the Pro version. Unfortunately I only got the PDF and I can't work on it e.g. with MS word before I export it. Do you know if there is a way to add page numbers with a free version? There might be an additional free software which allows that?
    Thanks for your support! 

    Thanks for your quick replies.
    I know how to add text page by page. But obviously it's hard to place the numbers on the very same position, is it?

  • Please help : How to print a matrix from the console...

    Hi..
    Please help:
    How to print a matrix on the console , but i want to take all the input from the console.. like...
    if the matrix is of size...
    mxn
    where
    m : row
    n : column
    and the all the elements of the matrix from the console it self... .
    Please help...

    Thanks...
    I am able to print the elements of the array but i am not able to assign those values to the array ....
    How to do that...
    I just did a little change in my code...
    import java.util.Scanner;
    public class CreatingAMatrix {
        public static void main(String[] args) {
         // TODO Auto-generated method stub
         System.out.print("Enter the number of rows: ");
         Scanner scanner1 = new Scanner(System.in);
         int m = scanner1.nextInt();
         System.out.print("Enter the number of coulmns:");
         Scanner scanner2 = new Scanner(System.in);
         int n = scanner2.nextInt();
         System.out.println("The size of the matrix is : " +m+" x "+n );
         int[][] a = new int[100][100];
         for(int i=0;i<=m;i++)
             for(int j =0; j <= n; j++)
              Scanner scanner3 = new Scanner(System.in);
              int o = scanner3.nextInt();
             System.out.println();
         for(int i=0;i<=m;i++)
             for(int j =0; j <= n; j++)
              System.out.print(a[i][j] + "\t");
             System.out.println();
    }I am getting an output as this
    output:
    Enter the number of rows: 2
    Enter the number of coulmns:1
    The size of the matrix is : 2 x 1
    1
    2
    1
    2
    3
    5
    0     0     
    0     0     
    0     0     
    how should i assig those input values to my array..
    Please help

  • I'm only able to input the numbers of the redemption code not the letters. how to fix

    I'm only able to input the numbers of the redemption code not the letters. how to fix

    Are you sure you are using the Redemption code and not the serial number?  See if this page helps:
    <Find your serial number quickly>
    If it is really a redemption code then you need to redeem it for a proper serial number.  See if this helps:
    <Redemption Code Help>
    Good luck.

  • How to print page numbers in adobe form

    Hi,
    Can anybody tell me how to print page numbers in adobe form.
    Thanks in advance
    Chaitanya

    Hi,
    Yes the field page n of m is used normally for printing page numbers. But it won't display the current page of total pages by itself. You have to set the run time property to n (current page ) and m (Total number of pages). Carefully select the # (current page ) and ## (Total number of pages). Hope this works for you.
    My requirement is to have the user control on current page. For Example:
    Example for a Invoice with 5 PO items (stands on 2 pages) :
    1st  page is the letter : no page number
    2nd page is the 1st page of the 1st copy of the invoice : we should read u201C1 / 2u201D
    3rd page is the 2nd page of the 1st copy of the invoice : we should read u201C2 / 2u201D
    4th page is the 1st page of the 2nd copy of the invoice : we should read u201C1 / 2u201D
    5th page is the 2nd page of the 2nd copy of the invoice : we should read u201C2 / 2u201D
    Presently i cam getting the current page number for page 4th as 3 / 2 and for 5th page 4 / 2. I could able to control the total number of pages from print program. But when i am printing the second copy (4th and 5th pages), I couldn't able to control the current page number. I need to initialize the Current page count (4th page ) as 1.
    I have used the follwing java scripting:
    this.rawValue = wv_pages - xfa.layout.page(this)
    where wv_pages is total no of pages calculated from print program.
    Please help me in this regard with some formcal or java scripting conditions.
    Thank You,
    Regards,
    Naresh.

  • I'm using Big date theme but the numbers on the date is cut off on top.  I'm on iphoto 11 and OS 10.8.2.  anyone else having this issue??

    I'm using Big date theme but the numbers on the date is cut off on top.  I'm on iphoto 11 and OS 10.8.2.  anyone else having this issue??

    OK try the following: make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
    User/Home/Library/Caches/com.apple.iPhoto folder (Snow Leopard and Earlier).
    or with Mt. Lion from the User/Library/Containers/com.apple.iPhoto/
    Data/Library/Caches/com.apple.iPhoto folder
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    NOTE 2:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.

  • Have the developers considered randomizing the numbers for the passcode?  It is easy to watch the pattern when someone enters their passcode.  However, if the numbers appeared is a random order each time, it would enhance the security feature even more.

    Have the developers considered randomizing the numbers for the passcode?  It is easy to watch the pattern when someone enters their passcode.  However, if the numbers appeared is a random order each time, it would enhance the security feature even more.  Personally, I would prefer this option with security in mind.

    He slightly beat you Meg, and I'm in the same boat with you. If I used a passcode I believe I would go with the feature to use a longer alphanumeric passcode rather than a 4 digit number even with the random code entry.
    And of course if Apple did put this feature in they need to make it an option or we'll see lots of posts wanting to know how to get rid of it.

  • I keep putting in my passcode but my iPad won't show the numbers in the blocks and it won't open.  I have tried double tapping in the numbers

    I keep putting in my passcode but my iPad won't show the numbers in the blocks and consequently it won't open for me. I have tried double tapping in the numbers and then it shows the numbers in the blocks correctly but then it responds with a wrong code in red and then locks me out.
    Typing in the code takes a long time which might indicate a full HD.

    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • The numbering of the bank statements is not sequential

    Hi expert,
    When I load the bank statements in transaction FEBA, the numbering of the bank statements is not sequential.
    Eg: Error
    Statement No    Date                  Amount
    223                   10.01.2010        xxxx
    222                   10.01.2010        xxxx
    221                   10.01.2010        xxxx
    106                   01.02.2010        xxxx
    105                   01.02.2010        xxxx
    104                   01.02.2010        xxxx
    220                   10.01.2010        xxxx
    219                   10.01.2010        xxxx
    218                   10.01.2010        xxxx
    How can I make it sequential?
    Thank you.
    Kind regards,
    Sridhar Sha

    Please note the statement number is normally provided by your bank.
    I would contact your bank to ask why the numbering changed.
    There is normally a check inside SAP that looks at opening statement balance and statement number.
    Perhaps your coder have turned this off. - Please check with them over this.

Maybe you are looking for

  • Preview.app's "Mail Document" & Entourage?

    Preview.app's "Mail Document" & Entourage? Has anyone noticed that Apple's Preview.app will allow you to email a PDF as an attachment, but it will only work with Apple's Mail.app. Of course I don't use Mail.app, I use Entourage 2008 (Exchange client

  • Disk Cannot Be Repaired?

    So I keep getting an error message telling me that my MacBook Pro cannot repair the disk, and that I should back up my files elsewhere ASAP... What are my options to get my time capsule working correctly again? Thanks, Catherine

  • How do I complain to skype supervisor?

    I had a totally unsatisfactory live chat with a Level One call centre representative working for skype and want to complain to his supervisor but am unable to find contact information. I downloaded Pamela and was asked to pay to unlock all features b

  • Not able run java application

    Hi, I hava installed new j2sdk1.4.2_01 on my machine. With this i have created an compilation script to compile some java programs, its compiles fine, but when i run , it throws Exception in thread "main" java.lang.NoClassDefFoundError: stratech/busi

  • ELEMENTS  won't launch on Windows 7

    I downloaded Elements13 on my PC with Windows 7 and it doesn't launch.  What should I do next?  I uninstalled and then re installed.  Now what??