1 vote
Accepted

My terminal showing @username>/workspaces/12604773(main) dollarsign

The first part up to and including the $ is just a command prompt. The `bash: check50: command not found" indicates that your environment wasn't set up correctly. I suggest you go back and rerun ...
Cliff B's user avatar
  • 68.8k
1 vote
Accepted

PSet 2 - Why will it still pass negative numbers?

There are a few problems here. First, it's checking whether a string, argv[1], is greater than 0, which will always be true, no matter what the number that results after the atoi() call may be. All ...
Cliff B's user avatar
  • 68.8k
1 vote
Accepted

pset2 Initials - negative index

Have you tried? if (i == 0 || name[i] == 32) { printf("%c", toupper(name[i + 1])); } In the most comfortable edition we assume that the user enters the name correctly and that the space is not ...
MARS's user avatar
  • 5,169

Only top scored, non community-wiki answers of a minimum length are eligible