need help to get started

This is a discussion on need help to get started within the C++ Programming forums, part of the General Programming Boards category; can some one get me started on this c++ assignment. This lab is mainly an output-formatting exercise. It does require ...

  1. #1
    Registered User
    Join Date
    Sep 2010
    Posts
    3

    need help to get started

    can some one get me started on this c++ assignment.

    This lab is mainly an output-formatting exercise. It does require that you know how to develop the product of two integers, without using a calculator.

    Problem statement
    Write a program that multiplies two 4-digit positive integers and prints their product in the format below. Your program should ask the user to type the two numbers, then read them in. As an example, the product of 4560 and 4334 should produce the following output.
    Notice that the alignment should be the same as you’d get if you multiplied the numbers using a pencil and paper.

    4560
    x 4334
    ---------
    18240
    13680
    13680
    18240
    ---------
    19753920

    You have to pull out the digits of the top number. 1000th digit is ‘4’. So you’d then multiply ‘4’ time 4334. There are different ways of solving this.

  2. #2
    Password:
    Join Date
    Dec 2009
    Location
    NC
    Posts
    587
    How many tomes must this be explained? No one here is going to do your hw. Expect the same amount of effort from the forum as you yourself give.

  3. #3
    Registered User
    Join Date
    Sep 2010
    Posts
    3

    read the title

    its says needs help to get started, not need help to do. there lot of good people out there to help if you cant they will.

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,308
    You can easily start by writing a skeleton program, and then tell us what you think you need to do to solve this problem.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Password:
    Join Date
    Dec 2009
    Location
    NC
    Posts
    587
    Quote Originally Posted by anniefaty View Post
    its says needs help to get started, not need help to do. there lot of good people out there to help if you cant they will.
    I can read, but actions speak more than words, and you're saying very little. It's not that I can't, it's that I refuse help those who make no attempt to help themselves.

    Show an honest attempt at anything and I'll be glad to help you turn it into what your assignment asks for.

  6. #6
    Registered User
    Join Date
    Sep 2010
    Posts
    3
    thanks am still in high school, but require to take this class and it's online, it very complicated don't know how to start i got the devc++ programme on mt computer but can start the first word its so hard.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help getting started...
    By Sh4d0ws in forum C Programming
    Replies: 0
    Last Post: 12-05-2009, 04:14 PM
  2. Help getting started..matrices
    By BobDole11 in forum C Programming
    Replies: 7
    Last Post: 11-15-2008, 09:51 PM
  3. Help getting started :(
    By blackocellaris in forum C Programming
    Replies: 4
    Last Post: 11-05-2006, 06:50 PM
  4. Getting Started
    By UnclePunker in forum Game Programming
    Replies: 3
    Last Post: 04-11-2003, 01:34 PM
  5. How to get started?
    By anoopks in forum Linux Programming
    Replies: 0
    Last Post: 01-14-2003, 03:48 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21