• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can someone check my program?  RSS feed

 
Adam Favel
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my program here complies, but it will not run...can someone by chance take a look at it for me...it supposed to take in numbers, draw a parallelogram with (*) and a triangle with a random char. Can someone help me out?

 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean "it will not run"? Do you get an exception? This means that the program DOES run; it just doesn't have the "correct" behavior that you expect. you should copy and paste the exact details about the exception that is thrown. Also, indicate which line in your code that the error refers to.

Layne
 
Adam Favel
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it will compile, and shows the first input box, asking what shape do you want to draw, but after that the screen is blank, and does not do anything.
 
Jan Rotthaus
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Adam,

are we doing your homework here
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!