New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submit cash solution #2

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@Jingxiang6
Copy link
Owner

Jingxiang6 commented Jan 5, 2019

No description provided.

int main(void)

{
//type a non-nagetive value of cash owed, unit in $

This comment has been minimized.

@thejohnfreeman

thejohnfreeman Jan 5, 2019

Collaborator

Misspelled 'negative'.

while (cash < 0);

//print out the change owed
// printf("Change owed: %.2f\n", cash);

This comment has been minimized.

@thejohnfreeman

thejohnfreeman Jan 5, 2019

Collaborator

Different levels of indentation throughout this file. Please make them consistent.

#include <stdio.h>
#include <math.h>
int main(void)

This comment has been minimized.

@thejohnfreeman

thejohnfreeman Jan 5, 2019

Collaborator

Please move this empty line to between the #includes and main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment