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

From: "Debbie" <debbie_holiday AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: times table
Lines: 7
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <UQkg6.111$8b1.44721@sapphire.mtt.net>
Date: Wed, 07 Feb 2001 23:26:44 GMT
NNTP-Posting-Host: 142.177.227.231
X-Complaints-To: abuse AT mpoweredpc DOT net
X-Trace: sapphire.mtt.net 981588404 142.177.227.231 (Wed, 07 Feb 2001 19:26:44 AST)
NNTP-Posting-Date: Wed, 07 Feb 2001 19:26:44 AST
Organization: MPowered-Subscriber
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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.


- Raw text -


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