delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/07/19:34:57

From: Tom St Denis <stdenis AT compmore DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: times table
Date: Wed, 07 Feb 2001 23:52:14 GMT
Organization: Deja.com
Lines: 18
Message-ID: <95sn3b$ead$1@nnrp1.deja.com>
References: <UQkg6.111$8b1 DOT 44721 AT sapphire DOT mtt DOT net>
NNTP-Posting-Host: 24.112.8.23
X-Article-Creation-Date: Wed Feb 07 23:52:14 2001 GMT
X-Http-User-Agent: Mozilla/5.0 (Windows 98; U) Opera 5.02 [en]
X-Http-Proxy: 1.1 x57.deja.com:80 (Squid/1.1.22) for client 24.112.8.23
X-MyDeja-Info: XMYDJUIDtomstdenis
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <UQkg6.111$8b1 DOT 44721 AT sapphire DOT mtt DOT net>,
  "Debbie" <debbie_holiday AT hotmail DOT com> wrote:
> I need help writing a nested for loop using #include <iostream.h> to output
> a "times table". The program must prompt the user for a number between 1 and
> 15 .     The output should be a grid where the numbers in the centre are the
> multiplication of the corresponding numbers on the outer row and column. I
> need to use "setw" so that the numbers will align properly.
>
>

Can you provide the source code giving you trouble?  This sounds like a
homework problem.

Tom


Sent via Deja.com
http://www.deja.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019