c++ programming

profiledai310

 

(a) Write a program that uses for loops to prints the following patterns separately, one below the other. All asterisks (*) should be printed by a single statement of the form cout <<”*”;

 

(b) Combine your programs and print all four patterns side by side by making clever use of nested for loops. (Hint: The last two patterns require that each line begin with an appropriate number of blanks)


I have attached a screenshot of how the end product should look like.

Also note that I have placed the due date saturday ONLY because it did not let me choose Friday. However I need this assignment done by 11:30 am Friday
GMT -5. The earlier the better obviously.

 

  • 12 years ago
  • 100
Answer(8)

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    star1.cpp
  • attachment
    star2.cpp
  • attachment
    star3.cpp
  • attachment
    star4.cpp
  • attachment
    stardown.cpp

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    patern.zip
  • attachment
    patern.cpp
  • attachment
    patern-4.cpp

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    main.cpp
  • attachment
    main.cpp

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    cppasteriskspattern.zip

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    c_asterisk.docx

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    triangle_patterns.cpp

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    thread_program.zip

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    patern.zip
  • attachment
    patern.cpp
  • attachment
    patern-4.cpp
Bids(0)