fixing errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zeroxster
    New Member
    • Oct 2015
    • 2

    fixing errors

    Hi there,
    Iam a beginner in c language. When I try to run a set of code I get two errors. One is expression syntax error and the other error says " variable is assigned a value that is never used".
    Please help me with this
    Find my code here
    Attached Files
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Code:
    while (p = < 4)
    	{
    		c = 0;
    etc...
    There is no =< operator. You need to code <= (no space between the < and the =).

    Comment

    • zeroxster
      New Member
      • Oct 2015
      • 2

      #3
      Thanks for helping.
      That's very usefull

      Comment

      Working...