How do you start to write a program when you are asked to use an output statements to print three first letters of your first name in big blocks. I started off with.

#include " stdafx. h"
#include <iostream>
using namespace std;
int main ()
{

// Statement

Cout << W << " \n";

I am not sure if that is right.

Recommended Answers

All 2 Replies

Yep. That's the first start. Be sure to use code tags... except for the #include " stdafx. h" part.

For the rest, you have to decide what your 'block letters' should look like, how many characters high and wide. Then use a series of cout statements to output a line at a time.

Well, let's see here:

The first #include statement doesn't need to be there. You also need to put double quotes (") around each character you need to output.

That should be all, unless you need to have a string with your name in it and then output the first three letters of your string, that's much more complicated. Only deal with that if you are specifically told to.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.