Help with output a.s.a.p .please!!!

I'm having trouble with outputting everything on the same line in this problem:
Given an int variable k that has already been declared, use a for loop to print a single line consisting of 97 asterisks. Use no variables other than k
I've gotten this far:
for(k=0;k<=97;k++)
I'm not sure how to output all the asterisks on the same line. Help would be much appreciated.

Are you going to use System.out, and some method of it which prints a character somewhere in there, or not?

Similar Messages

  • HT4199 I need help with getting my printer to print, PLEASE.

    I need help with getting my printer to print, Please.

    What have you done so far?
    I suggest you connect it via a usb  cable first.  Once you get the printer working, move to wifi.  You will have to use an existing printer usb cable or purchase a cable.  Be sure to get the correct cable.  Ask for help.
    The warrenty indicates there is phone support.  Give HP a call.
    Warranty
    One-year limited hardware warranty; 24-hour, 7 days a week phone support
    Robert

  • MOVED: need help with my k7n2 delta series motherboard please

    This topic has been moved to AMD SocketA based board.
    need help with my k7n2 delta series motherboard please

    "...the other memory ive been using is  memorymaxx 512mb ddr 3200..." If I understood right, your'e actually using both memories at same time so, your'e lucky if it works. We have said thousand times that mixing dif. brand/make/speed memories is a bad idea, most with this Mobo that is very picky about ram. If you want to avoid slowdown problems, stay with only one stick ( the better one ) until you can buy at same time in same store, 2 identical memories to replace the old one.

  • Subquery results need help with output

    Requirements:
    There is request to dump every day’s data from one table into text file.
    Tables:INSPECTION_RESULTS
    NJAS
    Primary Key: RES_SYS_NO
    Parent table: INSPECTION_RESULTS
    Child table: NJAS
    Purpose:
    1. obtain output results for the MIN and MAX RES_SYS_NO from INSPECTION_RESULTS table for yesterday’s date.
    2. Create comma delimited file for following columns using above table data output.
    Script thus far:
    SELECT NJA_RES_SYS_NO||','||NJA_TEST_REC_NO||','||NJA_LIC_ST_ID||','||NJA_ETS_ID||','||NJA_SW_VER||','||NJA_TECH_ID||','||NJA_VIN||','||NJA_LIC_NO||','
    ||NJA_LIC_JUR||','||NJA_LIC_SRC||','||NJA_MODEL_YR||','||NJA_MAKE||','||NJA_MODEL||','||NJA_VHCL_TYPE||','||NJA_BODY_STYLE||','||NJA_CERT_CLASS||','||
    NJA_GVWR||','||NJA_ASM_ETW||','||NJA_ETW_SRC||','||NJA_NO_OF_CYL||','||NJA_ENG_SIZE||','||NJA_TRANS_TYPE||','||NJA_DUAL_EXH||','||NJA_FUEL_CD||','
    || NJA_VID_SYS_NO||','|| NJA_VRT_REC_NO||','|| NJA_ARMSTDS_REC_NO||','|| NJA_RSN_F_N_TESTABLE||','|| NJA_DYNO_TESTABLE||','||
    NJA_CURR_ODO_RDNG||','|| NJA_PREV_ODO_RDNG||','|| NJA_PREV_TEST_DT||','|| NJA_TEST_TYPE||','||
    NJA_TEST_START_DT||','|| NJA_TEST_END_TIME||','|| NJA_EMISS_TEST_TYPE||','|| NJA_TEST_SEQ_NO||','
    ||NJA_LOW_MILE_EXEMP||','||NJA_TIRE_DRY||','|| NJA_REL_HUMID||','|| NJA_AMB_TEMP||','||NJA_BAR_PRESS||','|| NJA_HCF||','||
    NJA_GAS_CAP_ADAP_AVL||','|| NJA_GAS_CAP_REPL||','|| NJA_OVERALL_GAS_CAP_RES
    FROM NJAS
    WHERE NJA_RES_SYS_NO IN (SELECT MIN(NJA_RES_SYS_NO) FROM INSPECTION_RESULTS WHERE NJA_RES_SYS_NO IN
    (SELECT MAX(NJA_RES_SYS_NO) FROM INSPECTION_RESULTS, (SELECT SYSDATE-1 FROM DUAL))
    It works but not sure if I am getting accurate results. Can anyone help me fine tune this subquery script? Thanks!
    Scott

    Duplicate post
    See my answer in your other posting here Re: need help with script

  • Help with Cambridge SoundWorks!!! PLEASE!

    Hey, guys, I need some help with configuring my 5.1 Soundworks Speaker System... I can't hear anything out of my rear and center speakers...CMSS is out of the question, as my Creative Audigy(LS?) is plugged in, but the Original CD installer says it's not... I have installed some kind of drivers(the original ones from the cd), but, still, my sound card is "invisible" to the Creative Installer...Please help,
    Best regards...

    Yes, my Audigy is plugged in correctly... I had these stereo speakers and they worked fine, but the problem was the same! My drivers won't install via the "Installer"... I have the original CD and all that crap, and still nothing! I only placed the Soundcard where it should be, but I don't know if I need any more wires...My speakers are plugged in like in Creative's Surround Demo etc... I'm now using Win2000[No Service Pack](i used, and I think I will revert to, Windows XP[SP])...What I want to know is: Can I use anything other than CMSS? Is there anything that could make an Audigy LS and a Cambridge Soundworks DTT2200 get along fine? Oh, and I have an Abit motherboard... The model is not important, as my speakers, soundcard, motherboard and a hell lot more come from a guy who sold them...And they worked fine on his PC! The biggest problem is with the drivers... I use the first PCI slot for the soundcard and it kinda works.....Please help if you have any idea...

  • Help with 'Send to Many" on 5210 please

    I am getting closer to the answer I need about sending a text message to as many people as possible from as inexpensive a phone as possible. Thanks to Jalisinfo for your help with my previous post. I have pasted below the response I have been sent from the Nokia care team to my question. Can anyone help with the part they were unable to answer about how many recipients I would be able to send to using this phone? I need to be able to send to about 70 contacts. All the recipients would be the only people in the contacts list.
    "Pertaining to our previous email, the Nokia 5210 does not support the SMS distribution list feature. On this device, you can send SMS to more than one contacts. This feature is known as "Send to many".
    We are unable to advise on the number of contacts you can send the SMS at one time."
    Thanks to you all for your help.

    oops

  • Elements 8 -help with outputting slide shows to File?

    Can anyone help with saving a slide show in created in Elements to a file on my laptop? I know a WMV file is created, which option should I select to save in UK widescreen format 16:9?

    Bob, thanks for prompt answer.
    I am ultimately going to write the file to a DVD using Windows DVD Maker. Is the 16:9 format the DVD-PAL 720x576 option, or the High 1024x768 option?

  • PLEASE NEED HELP WITH OUTPUTTING HDV/DV!! 16:9 to 4:3!! NEED HELP NOW!

    ok. I started out with HDV footage. Imported that edited it native HD into final cut 5, didn't downconvert. Now I am trying to output the finished work onto a dv camera through firewire. At first i nested the HDV sequence into a NTSC sequence, but the video wouldn't go through to the camera, only audio. I thought it was a connection problem, but then i played some DV footage and it went to the camera fine. So then i exported the DV sequence as a quicktime movie in NTSC form, but that really cropped the 16:9 footage and made it unwatchable. How can i take the 16:9 HDV footage, and letterbox it so that it fits inside a 4:3 frame without cutting off any of the original frame, and then export that to a DV camera? Let me know if you need more info, please help this is due tomorrow!! ahhhhh!

    When you Export using QuickTime Conversion, to DV Stream, you get an option of what the aspect ratio should be. Select 16:9 and the DV stream will be what you're looking for. Opening that in FCP and sending it to the camera should work out well.

  • Need help with output one field horizontally please

    I know I have seen some ideas and threads about this, but it is not really what I need. I have a report in CR XI that seems to be on the right path. The problem I am having is one field that needs to be in details could provide multiple results (products and services) which duplicates all the records. Some customers I'll have 3 lines, the next 9 ... depending on how many P&S they have.
    What I have done is moved all fields from the details section to group1 which so far seems fine and left my P&S field in details.
    The output is normal:
    prod1
    prod2
    prod3
    prod4
    etc.....
    What I need is this: prod1, prod2, prod3, prod4, etc.
    Any ideas greatly appreciated.
    In the group header add a formula
    WhilePrintingRecords;
    Global StringVar ProductList;
    ProductList := '';
    in the details
    WhilePrintingRecords;
    Global StringVar ProductList;
    If ProductList  = '' then
       ProductList  :=
    else
         ProductList := ProductList & ', ' & ; ''
    In the group footer
    WhilePrintingRecords;
    Global StringVar ProductList;
    ProductList
    Edited by: Terry Mergl on Apr 20, 2010 9:15 PM

    What you have should do it.  Is there an issue?  Please explain in detail, giving sample data, current results, and expected results.
    Carl

  • Need help with output please

    Thank you for taking a look ill post my code and then my problem
    import java.util.Scanner;
    public class intrest
        public static void main( String[] args )
         Scanner input = new Scanner( System.in );
            System.out.print("Deposit:");
         double Value =input.nextInt();
         double Rate = 0;
            if (Value >250000 || Value <10000)
              System.out.print("Error: minimum deposit 10,000 and Maximum deposit 250000");
         else if (Value <25000)
              Rate = 2.76;
         else if (Value  <50000)
                    Rate = 3.16;
         else
              Rate = 3.20;
         double Interest = (Value / 100 * Rate);
            System.out.println ("Interest:" +Interest) ;
         System.out.println ("Rate:    " +Rate) ;
    }my goal for this program is to get the interest rate if the value is between 10k and 250k, if its any other value it should bring up an error however when i do input a number out of that range it gives me the error but it also displayes the interest rate and the interest gained although it does not work it out (both stay at 0 which is good),
    i want it to only show the error if the first statement is true "{code}if (Value >250000 || Value <10000){code}" ive tried using "Else If" but its still showing me the interest rate and interest gained, can anyone help would really appreciate it
    thank you very much

    Do a if condition check....if you dont want to use exit...below is the modified code
    import java.util.Scanner;
    public class test
        public static void main( String[] args )
         Scanner input = new Scanner( System.in );
            System.out.print("\n Deposit:");
         double Value =input.nextInt();
         double Rate = 0;
            if (Value >250000 || Value <10000)
              System.out.print("\nError: minimum deposit 10,000 and Maximum deposit 250000");
            else if (Value <25000)
                      Rate = 2.76;                  
                 else if (Value  <50000)
                  Rate = 3.16;
         else 
              Rate = 3.20;          
                 double Interest = (Value / 100 * Rate);
                 if ((Interest != 0) || (Rate !=0))
        System.out.println ("\n\n Interest:" +Interest +"\n\n Rate :"  +Rate);         
    }

  • Need help with adding arrays to invoice.java please willing to pay?

    Using your Invoice class created in lab02, write a client program that allows the user to input three Invoice objects into an array of Invoice objects. After you have inputted all of the invoices, print a heading and then output all of the array elements (Invoice objects) by calling the method from your Invoice class that displays all of the data members on a single line using uniform field widths to insure that all Invoice objects will line up in column format (created in Lab04). At the end of the loop, display the calculated total retail value of all products entered in the proper currency format.
    Example of possible program execution:
    Part Number : WIDGET
    Part Description : A fictitious product
    Quantity : 100
    Price          : 19.95
    (etc.)
    Example of possible output
    Part Number          Part Description          Quantity          Price     Amount
    WIDGET          A fictitious product     100          19.95     199.95
    Hammer               9 pounds          10          5.00     50.00
    (etc.)
    Total Retail Value:                                   249.95
    This is what i have so far Invoice Test
    //Lab 2 InvoiceTest.java
    //Application to test class Invoice.
    //By Morris Folkes
    public class InvoiceTest
    public static void main( String args[] )
    Invoice invoice1 = new Invoice( "1234", "Hammer", 2, 14.95 );
    // display invoice1
    System.out.println( "Original invoice information" );
    System.out.printf( "Part number: %s\n", invoice1.getPartNumber() );
    System.out.printf( "Description: %s\n",
    invoice1.getPartDescription() );
    System.out.printf( "Quantity: %d\n", invoice1.getQuantity() );
    System.out.printf( "Price: %.2f\n", invoice1.getPricePerItem() );
    System.out.printf( "Invoice amount: %.2f\n",
    invoice1.getInvoiceAmount() );
    // change invoice1's data
    invoice1.setPartNumber( "001234" );
    invoice1.setPartDescription( "Blue Hammer" );
    invoice1.setQuantity( 3 );
    invoice1.setPricePerItem( 19.49 );
    // display invoice1 with new data
    System.out.println( "\nUpdated invoice information" );
    System.out.printf( "Part number: %s\n", invoice1.getPartNumber() );
    System.out.printf( "Description: %s\n",
    invoice1.getPartDescription() );
    System.out.printf( "Quantity: %d\n", invoice1.getQuantity() );
    System.out.printf( "Price: %.2f\n", invoice1.getPricePerItem() );
    System.out.printf( "Invoice amount: %.2f\n",
    invoice1.getInvoiceAmount() );
    Invoice invoice2 = new Invoice( "5678", "PaintBrush", -5, -9.99 );
    // display invoice2
    System.out.println( "\nOriginal invoice information" );
    System.out.printf( "Part number: %s\n", invoice2.getPartNumber() );
    System.out.printf( "Description: %s\n",
    invoice2.getPartDescription() );
    System.out.printf( "Quantity: %d\n", invoice2.getQuantity() );
    System.out.printf( "Price: %.2f\n", invoice2.getPricePerItem() );
    System.out.printf( "Invoice amount: %.2f\n",
    invoice2.getInvoiceAmount() );
    // change invoice2's data
    invoice2.setQuantity( 3 );
    invoice2.setPricePerItem( 9.49 );
    // display invoice2 with new data
    System.out.println( "\nUpdated invoice information" );
    System.out.printf( "Part number: %s\n", invoice2.getPartNumber() );
    System.out.printf( "Description: %s\n",
    invoice2.getPartDescription() );
    System.out.printf( "Quantity: %d\n", invoice2.getQuantity() );
    System.out.printf( "Price: %.2f\n", invoice2.getPricePerItem() );
    System.out.printf( "Invoice amount: %.2f\n",
    invoice2.getInvoiceAmount() );
    } // end main
    } // end class InvoiceTest

    i suck in java There are 2 possible reasons for this:
    1. you haven't studied
    2. you aren't cut out for programming
    and there r hardly any tutors at my school. plus i work 2 jobs day n night. Please, I'm only want help thats allYou have the help of the ENTIRE WORLD COMMUNITY right here, right now. But you're not willing to make any effort whatsoever. You think people will help or even respect you? You may fail your class and you may fail in life!
    Cheaters don't win and winners don't cheat!

  • Massive help with an iPhone Application...PLEASE!   :(

    Hello.
    Since yesterday I have been trying to hunt down a bug in a simple iPhone application I made while following an exercise from the iPhone SDK Development book. Its a simple application with a navigation controller and a table view.
    You can download my project at
    public.me.com/felipelaso
    In the main view when the application is opened, you see a list of items and an option to edit them or add an item. When you click on add, a new view controller is popped, you get a textfield and a keyboard, and when you are done you go back to the table view and the name you just entered is added to the list.
    The problem is that as soon as you hit done on the keyboard, or click back on the navigation bar I get the following messages in the console:
    This GDB was configured as "i386-apple-darwin".warning: Unable to read symbols for "/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics" (file not found).
    warning: Unable to read symbols from "CoreGraphics" (not yet mapped into memory).
    warning: Unable to read symbols for "/System/Library/Frameworks/UIKit.framework/UIKit" (file not found).
    warning: Unable to read symbols from "UIKit" (not yet mapped into memory).
    I have reinstalled my developer tools, created a new project from scratch, added the frameworks again and nothing seems to work.
    I though it might me something with my frameworks. But then I downloaded a bunch of the samples with table views and navigation controllers, and they all work fine. All my other applications work fine too, except this one.
    I have spent all morning, and all afternoon yesterday trying to find out whats wrong, but im not an Xcode or Cocoa expert and I was hoping I could find some help.
    The project can be downloaded for anyone to test with.
    Please! any help I get would be gladly appreciated.
    Thanks in Advance,
    Felipe.

    Ok I downloaded it, ran it on the simulator and everything was fine. Put it on my device and i got an EXCBADACCESS when I clicked the done button as you described.
    EXCBADACCESS means something is getting released before you're trying to access it again. I opened the debug console to see this. Then I opened the debugger to find out exactly what the issue is. In my stack the last custom method that was called is [RootViewController addTeamNamed:] This makes me believe the array is being released.
    Now I take your addTeamNamed method and pepper it with log statements:
    - (void)addTeamNamed:(NSString *)teamName
    NSLog( @"A" );
    [teams addObject:teamName];
    NSLog( @"B" );
    NSIndexPath *indexPath;
    indexPath = [NSIndexPath indexPathForRow:[teams indexOfObject:teamName] inSection:0];
    NSLog( @"C" );
    [[self tableView] insertRowsAtIndexPaths:[NSArray arrayWithObjects:indexPath] withRowAnimation:NO];
    NSLog( @"D" );
    The console output of which is: "A B C". Ok, no D, so that means the error is the in the insertRows... method.

  • I need help with Importing songs into Creative organizer please help!

    OK now i have a bunch of music files in my documents that all have MPEG4 with the itunes music symbol next to them. My problem is when i try to add them to my Windows media player nothing happens also when i search for the files in the Creative Import Wizard nothing shows up! Do i first need to put all the music i want on my ZVM im Windows Media Player first then add it's or is it something else? do i need to get rid of itunes entirely and just have the music files in my documents? Im really really confused please help!!!!!! Also No tracks show up when i try to add them to Windows Media Player or Creative MediaSource5 even though when i know i put them there
    P.S. What do u guys do ( I mean people with Zen Vison M's) Any know of any guides too? that would be great!Message Edited by Chrismic3 on 03-9-200705:54 PM
    Message Edited by Chrismic3 on 03-9-200706:00 PM

    bump

  • I need help with windows 8 on my pc, PLEASE!

    HI, i have windows 8 on my pc. I've been playing games on my computer for 8 months since I bought it. I woke up the other day got on Big Fish to play my games as always, and ever time I push play it starts up then immediately goes back to the play. What
    is going on? The game won't stay on the screen, I've tried everything to fix it, please help me.

    Hi,
    I guess you're referrring to a game named  "Big Fish" which is installed in your system, and it stops working, right?
    Here're solutions I found on the Big Fish forum:
    Check error message.
    Update your video card driver.
    Kill the game via Task Manager, restart the game.
    Run the game as Administrator.
    Reinstall the game.
    It's recommended to post this issue in Big Fish Forum for they're more familiar with this product.
    http://forums.bigfishgames.com/forums/list.page
    NOTE
    This
    response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft
    does not control these sites and has not tested any software or information found on these sites.
    Yolanda Zhu
    TechNet Community Support

  • Need some help with getting mail folders into Maverick please???

    I have finally gotten my old Snow Leopard files transferred to Maverick partition on my hard drive but my mail did not pull over the old saved mailboxes with saved emails. How can I get those old saved emails into Mavericks so I can quit using Snow Leopard all together? The top picture below are my mailboxes you can see in Snow Leopard on the left of the screen (seems to have copied over the mail in my in-box but not my saved mailboxes. the second picture is what shows in Maverick. Can someone direct me on how to get my saved emails to Maverick please? All help is greatly appreciated and make the instructions simple, not real tech savy so need exact instructions. Thanks so much for any and all help:
    Also, is there any way to not group mail from the same person/company in a folder? Can't seem to find in preferences where you can get each email on a separate line. For instance if I get several emails from Apple Support it groups them into one folder and I would just as soon have them all listed separately in mail. Thanks again, Gary

    I couldn't have done any of this without the excelletn support from you Andy. You were patient with me and your assistance will never be forgotten. Thank you is not enough. I was so confused and now more aware of what is going on. I wasn't familiar with users vs. partitions I guess and was swiveling and seeing different things than when restarting and couldn't figure out what was going on. Again, thank you for your patience, and excellent skills to get me on the road to using Maverick. THANK YOU!!!

Maybe you are looking for

  • Weird secondary sync menu in iTunes

    I hate having to manage my music in that weird sub-menu under "Briana's iPhone". It's really confusing and unnecessary given that the SAME menu is already under "Library". And checking my items under Artists (on the right) is impossible because I can

  • Tracking Downpayment in Purchase Order

    Hi, Are there any ways to track downpayment(via FI) made in advance in the purchase order that raise later? Thanks, CW

  • Opinion on utilizing/storing/managing excess music

    Hi - hopefully this is in the right area. I tried to search, but did not find anything relevant to my issue. I have a 4G 20GB iPod and currently have 27GB of music in iTunes. As my immediate collection grows, it's a constant challenge to uncheck 'vic

  • How to use RFUMSV50

    Dear All, I have not used this Program (RFUMSV50) earlier. Is it a new addition for Service Tax settings in India? We used to post Service Tax Input to One Intermediary account. Whenever the vendor is paid, we used to transfer the service tax compone

  • Prompt for database logon information

    I am using CRS XI R2 SP4 on Windows I installed a report on the server and completed the datasource information and set the checkbox for using the same database info when report is run. However when the run is run the user is prompted for database us