Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Help Needed

Help Needed

Scheduled Pinned Locked Moved Managed C++/CLI
helpquestion
2 Posts 2 Posters 8 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zygo6500
    wrote on last edited by
    #1

    Hi, I have 2 questions here. Need your help . Thanking in advance. Question1 Write an application that prints the following diamond shape. You may use output statements that prints a single asterisks ( * ) , a single space or a single newline character . Maximize your use of repetition (with nested For structures) and minimize the number of output statements . The desired output should be as below : * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Question2 Modify the program you wrote in Question 1 to read odd number in the range 1 to 19 to specify the number of rows in the diamond . Your program should then display a diamond of the appropriate size . regards :eek: :laugh:

    N 1 Reply Last reply
    0
    • Z zygo6500

      Hi, I have 2 questions here. Need your help . Thanking in advance. Question1 Write an application that prints the following diamond shape. You may use output statements that prints a single asterisks ( * ) , a single space or a single newline character . Maximize your use of repetition (with nested For structures) and minimize the number of output statements . The desired output should be as below : * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Question2 Modify the program you wrote in Question 1 to read odd number in the range 1 to 19 to specify the number of rows in the diamond . Your program should then display a diamond of the appropriate size . regards :eek: :laugh:

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #2

      Did your teacher tell you that you can also do it in Managed C++??? Nish


      Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups