write a C++ Program that prints the block letter "B" IN A 7 x 6 grid of stars?
343601
Trisha,\n\nAs someone who teaches programming, I can tell you that this approach to homework is only going to hurt yourself (and probably cause you to fail the course).\n\nAll the concepts you're covering in class build upon one another... so if you don't learn to do this week's homework, you won't be able to do any of the following weeks' homework (not to mention tests and larger-scale projects).
1057916
look for more C++ program
413323
you could just copy and past into wordpad and print it that way p.s. when you give a person a best answer comment then you will earn 3 pts so it would be nice to help a brother out
1178151
If you know max.allowed width, use \nprintf( "%*.*s", width, width, arr[idx] )\n\nvoid printArray( char ** strings, int arr_sz, int columns, int min_width )\n{\nint rows = arr_sz/columns;\nfor( row = 0; row < rows, row++ )\nfor( col = 0; col < columns; col++ )\n{\n     int idx = columns*row+col;\n     if( idx >= arr_sz )\n           break;\n     printf( "%*.*s&#92;t", min_width, min_width , arr[idx] );\n}\nprintf( "&#92;n" );\n}
1090512
C++\nC\nJava\nVisual Basic\nPascal
604105
It's called ASCI art. There's a software that can produce them using software called bg_asci
678911
Check out the site at http://www.pscode.com - I don't do C++ but I use that site all the time for Visual BASIC stuff I work on.
676530
In c++\n\n#include <iostream.h>\n\nint main(int argc, char* argv[])\n{\n printf("Hello World!&#92;n");\n return 0;\n}
618947
#include <iostream> \n#include <cstdlib> \n#include <iomanip> \n\nint make_odd(int h); \nvoid rec_call(char c, int s); \n\n\nint main( void) \n{ \n    cout << "Enter character to use in the diamond.&#92;t"; \n    char draw; \n    cin >> draw; \n    cin.ignore(1000, '&#92;n'); \n    cout << "How many rows in the diamond (make it an odd number)?&#92;t"; \n    int high; \n    cin >> high; \n    cin.ignore(1000, '&#92;n'); \n    high = (high % 2)? (high/2) + 1 : make_odd(high); \n    rec_call(draw, high); \n    cout << "&#92;n&#92;nPress Enter to Continue . . .&#92;t"; \n    cin.get(); \n    return 0; \n\n\n\n} \n\n\nint make_odd(int h) \n{ \n cout << "That is not an odd number&#92;nUsing " << (h + 1); \n return ((h / 2) + 1); \n\n\n} \n\n\nvoid rec_call(char c, int s)  // c = char to print s = rows to print \n{ \n static int i = 0; \n while(i < s) \n { \n      int width = s + i; \n      int len = 1 + (2 * i); \n      char temp[len + 1]; \n      for(int count = 0; count < len; count++) \n              temp[count] = c; \n      temp[len] = '&#92;0'; \n      cout << endl << setw(width) << temp; \n      i++; \n      rec_call(c, s); \n      if(i == s) \n      { \n         i++; \n         return; \n      } \n\n      cout << endl << setw(width) << temp; \n  } \n\n\n\n}
60802
"disp" or "display" functions\n"line" is helpful too\n\nTry to make a string x='*****' y='** **' \ndisp x,y \nETC....
411292
static_cast<int>("A") = 65\n\ngives you the ASCII value of the character\n\nWhole program:==============================================\n\nchar array[25]={'A','B',.....'Z'}\n\ncout << "Enter number: ";\ncin >> number\n\nif(number <= 10){\n  cout << number;\n}\nelse\n cout << array[number- 10];\n\nThat is the basic program you need to write it will work just dress it up to look pretty
484735
Printing something????
1050475
i see from the code u entered ./n .............\nin c++ that MATLAB is based and devloped from it it work but try this\n\ntry:-\n-n= (newline): specifies end of line characters (equivalent to '&#92;n').
505044
Try Planet Source Code:\n\nhttp://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=3270&lngWId=3\n\nThis one's in C++, but you should be able to convert it back to C...
423398
here...I'll tell you what to write and you write it...\n\n/* outline the program */\n\n// void main()...etc..\n\n/* define your variables */\n/* you'll need a pair of char pointers */\n/* and some numbers to hold converted values */\n\n\n/* input the first binary as a string */\n\n/* input the second binary as a string */\n\n/* convert them to decimal */\n\n/* add them */\n\n/* fprintf them */\n\n/* end program */\n\n\nthat's all.\nI write all my programs in commented logic first then fill in the blanks so that it does what I meant.  When I'm done, the program follows the flow and is already commented for the next person to follow.
700395
try simple ocr. it's not the best one but the cheapest one for you to start.
225161
The quick answer is that you would know how to program in c++. I dont think most people would want to write that for you just to give an answer but you never know. \n\nTry using planetsourcecode and see if you can find something similar enough to modify...