English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

having output as mirror image of
***
**
*
on the right hand side

2006-07-06 03:34:12 · 3 answers · asked by Anonymous in Computers & Internet Programming & Design

3 answers

don't see how this connects to C++, or C# depends on which one you refer too...
you could try a CLS Console application, or a WIN32 Native application(WIN GUI)...
CLS CONSOLE:
// zxx.cpp : main project file.

#include "stdafx.h"

using namespace System;

int main(array ^args)
{
void main() {
printf(" ***");
printf(" **");
printf(" *");
}

2006-07-06 03:41:46 · answer #1 · answered by V.Vondoom 3 · 4 2

I am not sure about this but I thought this might help you....
You can calculate the width of the screen and print the same thing with the right justification...

2006-07-06 10:41:56 · answer #2 · answered by mihir_virani_patel 2 · 0 0

void main() {
printf(" ***");
printf(" **");
printf(" *");
}

So what am I missing here?

2006-07-06 10:40:58 · answer #3 · answered by N2FC 6 · 0 0

fedest.com, questions and answers